Possible bug in .htaccess generation

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

Moderator: Moderators

Possible bug in .htaccess generation

Postby e_i_pi » Sun Dec 30, 2012 11:53 pm


I just started using phpBB SEO pre-mod after having used phpBB 3.0.8 for a while. I found the installation reasonably simple, but have found an issue with the .htaccess file that was generated. I used Mixed mode, and down the bottom of the file, there was the following line:
Code: Select all
RewriteRule ^forums/.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ /sun/forums/$1 [QSA,L,NC,R=301]

I found it necessary to change it to this:
Code: Select all
RewriteRule ^forums/.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php|adm/index.php)$ /sun/forums/$1 [QSA,L,NC,R=301]

...as I was getting 404 errors when navigating to the ACP from subforums, as it was adding the subforum name to the URL.

Just thought the admin here might want to know, in case any changes need to be made to the .htaccess autogenerator.
Posts: 1
Joined: Sun Dec 30, 2012 11:49 pm


Return to Mixed SEO URL


  • Related topics
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests