The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
.htaccess problem
Hopefully someone knows something about this.. I am using .htacess to rewrite urls on one of my sites, yet it rewrites them even in subdirectories. Any one know how to get it to rewrite the root directory only?
<IfModule mod_rewrite.c> RewriteEngine on # Rewrite current-style URLs of the form 'index.php?q=x'. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] </IfModule> Edit/Delete Message |
#2
|
|||
|
|||
I think it is because of the rewrite condition you have over there. Anyways this is the rewrite codes I use using .htaccess
Code:
RewriteEngine On RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|