The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need help with mod rewrite!
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-engi...-question.html This is the new structure using Friendly Urls http://www.mr2.com/forums/threads/95...-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-goek...all-vbseo-238/ I would very much appreciate any help given! |
#2
|
|||
|
|||
Bump!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|