![]() |
CMS mod_rewrite What happened to the .htaccess file that used to come with vBulletin 4? Kinda sucks that it doesn't now as I know jack about mod_rewrite and right now my site is experiencing issues so I'm working with my host for a solution but just in case I'm posting here. Currently I am getting 404 when I use the following code: Code: RewriteEngine OnRewriteBase / 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 ^forums/(index.php)?$ forum.php?%{QUERY_STRING} RewriteRule ^blogs/(index.php)?$ blog.php?%{QUERY_STRING} Not sure how it would work including /forums/ in theres or blogs but if it would work I wouldn't care. Any ideas or suggestions would be greatly appreciated. |
الساعة الآن 10:51 AM |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir