RewriteEngine on # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory. # RewriteBase /forum/ RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] # Forum RewriteRule ^threads/.* showthread.php [QSA] RewriteRule ^forums/.* forumdisplay.php [QSA] RewriteRule ^members/.* member.php [QSA] RewriteRule ^blogs/.* blog.php [QSA] ReWriteRule ^entries/.* entry.php [QSA] RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] # MVC RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
Announcement
Collapse
No announcement yet.
Mod Rewrite Friendly URLs Not Working
Collapse
X
-
I am trying to setup mod_rewrite for my website, foodnoggin.com. For some reason, the .htaccess I was provided from vBulletin only works for a few certain addresses. For example, if you go to http://foodnoggin.com/members/1-Dustin-Sartoris it will work, but won't if you go to http://foodnoggin.com/content/1-Home or http://foodnoggin.com/forums/2-Main-Forum. I have posted the content of my .htaccess below. Please help me. Thank you.
Code:Last edited by Jedric; Sat 4 Sep '10, 8:08am. -
What version of apache is your webserver running? the htaccess isn't compatable with Apache 1.
Related Topics
Collapse
-
by Asad993Hello,
I was using vBulletin 4.4.2 on Mod Rewrite Friendly URLs with follwing rewrite .htaccess file.
HTML Code:# Author: Matty Asia # Version 1.4 # Downloaded from: http://www.vbulletin.com/forum/showthread.php?325798
-
Channel: Support Issues & Questions
Wed 3 Sep '14, 4:07am -
Comment