fastlaneweb
01-19-2009, 04:39 AM
I have been using zoints for a while, but I'm not sure I want to continue and I would like to 301 redirect all my keyword-here-t-XXX.html urls back to showthread.php?t=xxxx. I've been trying to figure this out with my .htaccess file but my changes have mostly created 404 and 500 errors. Anyone have any ideas?
--------------- Added 1232348457 at 1232348457 ---------------
Well I figured out the answer. In case anyone else needs this just include the following in your .htaccess file. You will need to remove or comment out the zoints redirects.
RewriteRule ^[^/]*-f([0-9]+)\.html$ /forumdisplay.php?f=$1 [R=301,L]
RewriteRule ^[^/]*-t([0-9]+)\.html$ /showthread.php?t=$1 [R=301,L]
--------------- Added 1232348457 at 1232348457 ---------------
Well I figured out the answer. In case anyone else needs this just include the following in your .htaccess file. You will need to remove or comment out the zoints redirects.
RewriteRule ^[^/]*-f([0-9]+)\.html$ /forumdisplay.php?f=$1 [R=301,L]
RewriteRule ^[^/]*-t([0-9]+)\.html$ /showthread.php?t=$1 [R=301,L]