Can anyone help a novice ?

phpBB2 SEO Mixed mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting categories and forums titles in their URLs, but keeping a static rewriting for topics.

Moderator: Moderators

Can anyone help a novice ?

Postby merlmagic » Tue Jan 06, 2009 10:25 pm

I have installed everything as described ( or so i think ) but when i click on the forum topics the correct url is shown but the page can not be found.

The forum is hosted in the folder tsmforum. Can anyone confirm whether the htaccess file is correct. I have tried removing the / from the second part of each string as well and that makes no difference. Rewrite mod is enabled as the htaccess in the root directory uses it correctly.

# You could need to un-comment the following line
Options +FollowSymlinks
RewriteEngine On
RewriteBase /

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

thanks
merlmagic
 
Posts: 2
Joined: Sat Jan 03, 2009 9:59 am

Advertisement

Postby coyote » Wed Jan 07, 2009 3:13 pm

Unless tsmforum is a subdomain, the htaccess needs to go in the site root. The best way is to add it to the already existing htaccess in the site root.

If it is in a subdomain, then you don't need the tsmforum/ in the htaccess.
coyote
phpBB SEO Team
phpBB SEO Team
 
Posts: 257
Joined: Fri May 11, 2007 6:24 am

help

Postby merlmagic » Wed Jan 07, 2009 7:00 pm

Thanks for that. In the end i changed the folder to a subdomain and got it working that way.

Thanks
merlmagic
 
Posts: 2
Joined: Sat Jan 03, 2009 9:59 am


Return to phpBB2 Mixed mod rewrite

Who is online

Users browsing this forum: No registered users and 2 guests


 
cron