mr2forums
10-01-2013, 08:25 AM
We previously had VBSEO installed but since support has dried up and it was causing excessive CPU load we had to remove it. Unfortunately this screwed up all of our URLs and now I need to correct them in the .htaccess file. I am not fluent in this and could use a helping hand.
This is our old url structure using VBSEO:
http://www.mr2.com/forums/turbo-engine-talk-modifications-swaps/Toyota-MR2-95372-fuel-pump-resistor-pack-question.html
This is the new structure using Friendly Urls
http://www.mr2.com/forums/threads/95372-fuel-pump-resistor-pack-question
We have links everywhere not including the SE indexed links that need fixed.
This is the current htaccess I have setup:
RewriteEngine On
Options +FollowSymLinks
### THIS IS A LITTLE EXTRA SECURITY AND CAN BE REMOVED
RewriteRule ^includes/(.*) index.php
RewriteRule ^vb/(.*) index.php
RewriteRule ^packages/(.*) index.php
### THIS IS THE ACTUAL REWRITE
RewriteRule ^threads/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) showthread.php?t=$1&page=$2&%{QUERY_STRING}
RewriteRule ^members/([0-9]+) member.php?u=$1&%{QUERY_STRING}
RewriteRule ^forums/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) forumdisplay.php?f=$1&page=$2&%{QUERY_STRING}
RewriteRule ^blogs/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) blog.php?u=$1&page=$2&%{QUERY_STRING}
RewriteRule ^entries/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) entry.php?b=$1&page=$2&%{QUERY_STRING}
RewriteRule ^list/([^/]*/)([0-9]+) list.php?r=$1$2&%{QUERY_STRING}
RewriteRule ^content/(.*) content.php?r=$1&%{QUERY_STRING}
RewriteRule ^widget/config/([0-9]+) widget.php?r=config/$1&%{QUERY_STRING}
Here is a link to the uninstall directions with the mod rewrite rules provided however I can not get any of them to work, nor do they seem to fit ours. Note that we added also the keywords "Toyota-MR2" into the URL before the thread ID.
http://www.vbseo.com/blogs/mert-goekceimam/how-uninstall-vbseo-238/
I would very much appreciate any help given!
This is our old url structure using VBSEO:
http://www.mr2.com/forums/turbo-engine-talk-modifications-swaps/Toyota-MR2-95372-fuel-pump-resistor-pack-question.html
This is the new structure using Friendly Urls
http://www.mr2.com/forums/threads/95372-fuel-pump-resistor-pack-question
We have links everywhere not including the SE indexed links that need fixed.
This is the current htaccess I have setup:
RewriteEngine On
Options +FollowSymLinks
### THIS IS A LITTLE EXTRA SECURITY AND CAN BE REMOVED
RewriteRule ^includes/(.*) index.php
RewriteRule ^vb/(.*) index.php
RewriteRule ^packages/(.*) index.php
### THIS IS THE ACTUAL REWRITE
RewriteRule ^threads/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) showthread.php?t=$1&page=$2&%{QUERY_STRING}
RewriteRule ^members/([0-9]+) member.php?u=$1&%{QUERY_STRING}
RewriteRule ^forums/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) forumdisplay.php?f=$1&page=$2&%{QUERY_STRING}
RewriteRule ^blogs/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) blog.php?u=$1&page=$2&%{QUERY_STRING}
RewriteRule ^entries/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) entry.php?b=$1&page=$2&%{QUERY_STRING}
RewriteRule ^list/([^/]*/)([0-9]+) list.php?r=$1$2&%{QUERY_STRING}
RewriteRule ^content/(.*) content.php?r=$1&%{QUERY_STRING}
RewriteRule ^widget/config/([0-9]+) widget.php?r=config/$1&%{QUERY_STRING}
Here is a link to the uninstall directions with the mod rewrite rules provided however I can not get any of them to work, nor do they seem to fit ours. Note that we added also the keywords "Toyota-MR2" into the URL before the thread ID.
http://www.vbseo.com/blogs/mert-goekceimam/how-uninstall-vbseo-238/
I would very much appreciate any help given!