| :: |
| Author |
Message |
Darth Pincho PR1

Joined: 22 Sep 2006 Posts: 141
|
Posted: 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 |
|
 |
|
 |
gowap phpBB SEO Team


Joined: 07 May 2006 Posts: 1005
|
Posted: 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
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 |
|
 |
Darth Pincho PR1

Joined: 22 Sep 2006 Posts: 141
|
Posted: 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 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
gowap phpBB SEO Team


Joined: 07 May 2006 Posts: 1005
|
Posted: 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
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 |
|
 |
euroman PR0

Joined: 21 Oct 2006 Posts: 81
|
Posted: 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 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
euroman PR0

Joined: 21 Oct 2006 Posts: 81
|
Posted: 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 |
|
 |
euroman PR0

Joined: 21 Oct 2006 Posts: 81
|
Posted: 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 |
|
 |
euroman PR0

Joined: 21 Oct 2006 Posts: 81
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
Posted: 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 |
|
 |
magicfun
Joined: 23 Oct 2006 Posts: 11
|
Posted: 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

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
varteju
Joined: 25 Nov 2006 Posts: 25
|
Posted: 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

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
|
|