phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Mixed mod rewrite
::  
Author Message
Darth Pincho
PR1
PR1


Joined: 22 Sep 2006
Posts: 141

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Fri Oct 06, 2006 9:10 pm    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

Well i have one problem with SEO mod rewrite, or Zero Dupe plugin.

When i post a reply in my forum, automatically the forum redirects to the reply and you see your post. Well the forum is trying to find this address after my last reply reply:

http://www.tupincho.net/foro/post54000.html

And i get 404 error.

But if i write

http://www.tupincho.net/foro/viewtopic.php?p=54000

works perfectly. Why?

You can see all the actual content of viewtopic here:
http://www.tupincho.net/foro/viewtopic.txt

And my .htacces rewrite rules are:
Code:
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^tupincho\.net$ [NC]
RewriteRule ^(.*) http://www.tupincho.net/$1 [QSA,L,R=301]

RewriteBase /


#########################################################
# PHPBB SEO REWRITE RULES            #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
RewriteRule ^foro/.+/([^/]+\.html)$ /foro/index.php [R=301,L]
# CATEGORIES
RewriteRule ^foro/.+-vc([0-9]+)\.html$ /foro/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^foro/.+-vf([0-9]+)-([0-9]+)\.html$ /foro/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^foro/.+-vf([0-9]+)\.html$ /foro/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^foro/topic([0-9]+)-([0-9]+)\.html$ /foro/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^foro/topic([0-9]+)\.html$ /foro/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^foro/post([0-9]+)\.html$ /foro/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^foro/member([0-9]+)\.html$ /foro/profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################


according to this rule:
# POST
RewriteRule ^foro/post([0-9]+)\.html$ /foro/viewtopic.php?p=$1 [QSA,L]
everything is ok

ANY IDEAS?

_________________
Webmaster at:
http://www.tupincho.net
Discussion board at:
http://www.tupincho.net/foro/
Back to top
Visit poster's website
gowap
phpBB SEO Team
phpBB SEO Team


Joined: 07 May 2006
Posts: 1005

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Fri Oct 06, 2006 10:29 pm    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

You're running mixed rewrite but the zero dupe plugin dcz mistakenly provided you is generating advanced rewrite (title injection in urls, ie : something-vt.html and you don't have a htaccess rewriterule to handle these "-vt" urls --> 404 error).

to fix it and switch to zero dupe with the mixed rewrite:
edit viewtopic.php and Find :
Code:
$url= PHPBB_URL . format_url($forum_topic_data['topic_title']) . '-vt' . $forum_topic_data['topic_id'] . ( ($start !=0) ? "-$start" : '' ) . ".html" . (( $post_id ) ? '#' . $post_id : '');

Replace
Code:
format_url($forum_topic_data['topic_title']) . '-vt'

with
Code:
'topic'


Off-topic : Google adsense rules state that you can have max 4 partner ads on one page. On your forum every admin puts 3 partner ads in their signature when they post a single message ! In the example topic you gave above there are 9 google partner ads on a single topic page becasue of 3 adin posts. If I were you I won't continue like that, google may kick you from the adsense program.

_________________
Gravure-News : la communauté francophone de la gravure de CD/DVD et son forum d'entraide.
Back to top
Visit poster's website
Darth Pincho
PR1
PR1


Joined: 22 Sep 2006
Posts: 141

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Sat Oct 07, 2006 1:28 am    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

jejeje little mistake of my frien DCZ who send me the wrong zerodupe mod. No problem!! i made the changes and now works great.

Thanks a lot for your help friend. I will deeply test my forum in order to find any other problem. Can you please send PM to me with zerodupe mixed mod in order to verify all the codes i put??

_________________
Webmaster at:
http://www.tupincho.net
Discussion board at:
http://www.tupincho.net/foro/
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Sat Oct 07, 2006 7:19 am    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

Gowap is very right, and was thinking blinded, I am impressed, and sorry for the mixed mixed Laughing

Thanks gowap Wink

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
gowap
phpBB SEO Team
phpBB SEO Team


Joined: 07 May 2006
Posts: 1005

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Sat Oct 07, 2006 2:48 pm    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

Darth Pincho wrote:
Can you please send PM to me with zerodupe mixed mod in order to verify all the codes i put??

I do not have it Very Happy
I'm using advanced rewrite, and as dcz said, to give you the fix, i "invented" it (it was quite obvious). You do not have to worry about other changes, this was the only different part between advanced and mixed rewrite.

_________________
Gravure-News : la communauté francophone de la gravure de CD/DVD et son forum d'entraide.
Back to top
Visit poster's website
euroman
PR0
PR0


Joined: 21 Oct 2006
Posts: 81

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Thu Oct 26, 2006 1:41 am    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

Trying to install this mod.

1. I Installed Cyber Alien guest session np
2. Using Easymod
3. Manually copied so .htaccess is:

Quote:
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# CATEGORIES
RewriteRule ^cat([0-9]+)\.html$ /index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^forum([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^forum([0-9]+)\.html$ /viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^topic([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^topic([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L]
# PROFILES
RewriteRule ^member([0-9]+)\.html$ /profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################


4. Seems to be at typo in the mod where it says include/function.php - Should be includes/functions.php ? correctet that

5. Error when changing footer so deleted that.

After that easymod installed with success but now forum down/blank page...
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Thu Oct 26, 2006 8:30 am    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

Well, I think you should consider installing the mod without Eazymod, it's fast and easy.

The .htaccess is correct for a root installation.

4) : you're right Wink

5) don't forget the final touch is what will help out improving these mods Wink

The blank page suggest a parse error or something with error messages disabled at the server level.

Check you code changes, they are easy and not so many.


++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
euroman
PR0
PR0


Joined: 21 Oct 2006
Posts: 81

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Thu Oct 26, 2006 11:18 am    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

Did a manual install

Now everyting works except viewforum.

http://www.thegame-online.de/forum1.html dosent exist....


Last edited by euroman on Thu Oct 26, 2006 12:42 pm; edited 1 time in total
Back to top
Visit poster's website
euroman
PR0
PR0


Joined: 21 Oct 2006
Posts: 81

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Thu Oct 26, 2006 11:31 am    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

http://www.thegame-online.de/member5.html also not exist.


Last edited by euroman on Thu Oct 26, 2006 12:41 pm; edited 1 time in total
Back to top
Visit poster's website
euroman
PR0
PR0


Joined: 21 Oct 2006
Posts: 81

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Thu Oct 26, 2006 11:41 am    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

http://www.thegame-online.de/forum1.html?sid=ae4641d1aa7d9cd7b6f5938781abb364 - saw a sid - but maby it was my browsers cache when comming from another url...dont know...seem to be gone now.

[EDIT] Did the install all over again and same problems. forum/topic/member not working.
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Thu Oct 26, 2006 2:15 pm    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

I think I get it, you're not using the mixed mod rewrite, so we're off topic here.

Then, before we proceed further in the correct thread, if simple mod rewrite is what you want, please check if mod rewrite is available on your server, because the .htaccess should work, you can try two last things on it : get rid of

Code:
Options +FollowSymlinks


and / or get rid of all / before index, viewforum, viewtopic, etc ...

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
magicfun



Joined: 23 Oct 2006
Posts: 11

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Mon Nov 06, 2006 5:40 pm    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

Hi I recently installed the mixed re-write MOD found here. Something that I notice is that my sub forum links are all wrong. They don't have the correct name on them, but are all the same link. They go to the right place, it just has the wrong title injected into all of the sub forums. Do you know of anyone that had this similar issues with their forum if they have the simple sub-forums MOD already in their forum? It seems to make all of my sub-forums the name of my last category name. It is currently what-were-you-thinking...so all of my subforums have that link in front of them.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Mon Nov 06, 2006 6:24 pm    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

This is because you need some additional modding (very few of them) for the sub forum mod (only with the mixed and advanced phpBB SEO mod rewrites, not required with the simple one).

So far both simple sub forum and pseudo sub forum are supported.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
varteju



Joined: 25 Nov 2006
Posts: 25

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Sat Nov 25, 2006 4:33 am    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

I have a question...i'm currently using the Simple Mod Rewrite (able2know's)...it works just fine but as you know it only changes the forums to forum-#.html and topics to about#.html! How would i install this mixed mod rewrite? Do i have to uninstall the simple mod rewrite first?

Thanks in advance!
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

[Archive] phpBB SEO Mixed mod Rewrite V 0.0.2Posted: Sat Nov 25, 2006 1:07 pm    Post subject: Re: [Archive] phpBB SEO Mixed mod Rewrite V 0.0.2

And welcome Very Happy

This thread covers migrating to the phpBB SEO advanced mod rewrite, it's mostly the same with the mixed one, only the added code will change a bit.

Fell free to start a new thread for your case if you wish.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Mixed mod rewrite
Page 2 of 4 Goto page Previous  1, 2, 3, 4  Next

Navigation Similar Topics

Jump to: