Hi,
When I started to use Mode_Rewrite I experienced drop in Google. I think (not sure) that drop in number of indexed pages was caused by the existence of the old and new URLs at the same time.
So far I have found two solutions to prevent this using "301"-Permanently removed (hope it will help):
1. Adding the code from
this thread to the file bb_plugins.php
2. Adding 301s to .htaccess code offered in
miniBB official manual... that might look like this after the modification:
RewriteEngine On
#RewriteBase /folder
#parameters for short URL
RewriteCond %{QUERY_STRING} ^action=userinfo&user=([0-9]+)$
RewriteRule ^index\.php$ user%1.html? [R=301,L]
RewriteCond %{QUERY_STRING} ^action=vtopic&forum=([0-9]
+)$
RewriteRule ^index\.php$ %1_0.html? [R=301,L]
RewriteCond %{QUERY_STRING} ^action=vtopic&forum=([0-9]
+)&page=([0-9]+)$
RewriteRule ^index\.php$ %1_%2.html? [R=301,L]
RewriteCond %{QUERY_STRING} ^action=vthread&forum=([0-9]+)&topic=([0-9]+)$
RewriteRule ^index\.php$ %1_%2_0.html? [R=301,L]
RewriteCond %{QUERY_STRING} ^action=vthread&forum=([0-9]+)&topic=([0-9]+)&page=([0-9]+)$
RewriteRule ^index\.php$ %1_%2_%3.html? [R=301,L]
#html secret addresses to old ones (pridano rw=1, to prevent cycling)
RewriteRule ^user([0-9]+)\.html$ index.php?action=userinfo&user=$1&rw=1 [L]
RewriteRule ^([0-9]+)_([0-9]+)\.html$ index.php?action=vtopic&forum=$1&page=$2&rw=1 [L]
RewriteRule ^([0-9]+)_([0-9]+)_([0-9]+)\.html$ index.php?action=vthread&forum=$1&topic=$2&page=$3&rw=1 [L]I have not tested the solutions but I have applied the first one today. What do you thik about the .htaccess code? I have downloaded it from one Czech forum. I hope it works but I am affraid to apply it :( since programming is not my strength.
(
My site with miniBB forum (slovak))