![]() |
.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 |
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 |
All times are GMT. The time now is 06:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|