MyBB Community Forums

Full Version: From spicefuse seo to google seo, redirect 301
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is the rewrite URL of threads of spicefuse seo (that i'm actually using):
RewriteRule ^(.*)-t-([0-9]+).html(.*)$ showthread.php?tid=$2$3 [QSA,L]

This is the rewrite URL of threads of google seo (that i'll have to use):
RewriteRule ^Thread-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

How do I report a change of url using the 301 redirect?

I'm wrong forum, sorry.
As long as you don't remove the old rewrite rules (required to keep old URLs working), Google SEO Redirect will take care of it automatically.
(2013-06-16, 10:39 AM)frostschutz Wrote: [ -> ]As long as you don't remove the old rewrite rules (required to keep old URLs working), Google SEO Redirect will take care of it automatically.

So the .htaccess should be like this(??):
#old rules
RewriteRule ^(.*)-t-([0-9]+).html(.*)$ showthread.php?tid=$2$3 [QSA,L]
RewriteRule ^(.*)-t-([0-9]+)-([0-9]+).html$ showthread.php?tid=$2&page=$3 [QSA,L]
#new rule
RewriteRule ^Thread\-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]


--EDIT
It works, thanks a lot!!