I have renamed one of the hidden forums to TEST this Redirect:
- Code: Select all
Redirect 301 /phpBB2/partners-only-f17.html http://www.emailsignature.eu/phpBB2/office-add-on-partners-only-f17.html
The response is "301 Moved Permanently" (which is fine), but the URL gets "?f=17" added at the end:
- Code: Select all
http://www.emailsignature.eu/phpBB2/office-add-on-partners-only-f17.html[color=#FF0000]?f=17[/color]
I guess the RewriteRule in my .htaccess is causing the problem, but I have no clue how to fix it ... can you?
THANKS!
This is my .htaccess:
- Code: Select all
<Files config.php>
Deny from all
</Files>
#DirectoryIndex index.php index.html index.htm
Redirect 301 /index.html http://www.emailsignature.eu/phpBB2/index.php
RewriteEngine On
RewriteRule ^phpBB2/msi-package-t569\.html$ /phpBB2/msi-package-t571.html
# SEO URL [mgutt]
RewriteRule !\.html$ - [L]
RewriteRule ^phpBB2/[a-z0-9-]+-([pt])([0-9]+)\.html$ /phpBB2/viewtopic.php?$1=$2 [L]
RewriteRule ^phpBB2/[a-z0-9-]+-f([0-9]+)\.html$ /phpBB2/viewforum.php?f=$1 [L]
RewriteRule ^phpBB2/[a-z0-9-]+-c([0-9]+)\.html$ /phpBB2/index.php?c=$1 [L]
RewriteRule ^phpBB2/[a-z0-9-]+-u([0-9]+)\.html$ /phpBB2/profile.php?mode=viewprofile&u=$1 [L]
RewriteRule ^phpBB2/([a-zA-Z0-9_]+),([^/,]+),([^/,]*)([^/]*\.html)$ phpBB2/$1$4?$2=$3 [QSA,N]
RewriteRule ^phpBB2/[a-z0-9-]+-([pt])([0-9]+),([^/,]+),([^/,]*)([^/]*\.html)$ phpBB2/viewtopic$5?$1=$2&$3=$4 [QSA,N]
RewriteRule ^phpBB2/[a-z0-9-]+-f([0-9]+),([^/,]+),([^/,]*)([^/]*\.html)$ phpBB2/viewforum$4?f=$1&$2=$3 [QSA,N]
RewriteRule ^phpBB2/([a-zA-Z0-9_]+)\.html$ /phpBB2/$1.php [L]
#Forum names changed and to avoid duplicate content
Redirect 301 /phpBB2/partners-only-f17.html http://www.emailsignature.eu/phpBB2/office-add-on-partners-only-f17.html

English |
French
