disable RewriteRule for one sub Folder

You have a .htaccess in the root of website. When you type: yourdomain.com/guests You need to somehow disable this rule for guests subfolder, but how do you do this? The code bellow will help you. Let add it in your .htaccess file:

RewriteEngine On

RewriteCond %{REQUEST_URI} ^guests
RewriteRule ^ - [L,QSA]

RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ - [L,QSA]
 
Let try and enjoy! 

Comments

Popular posts from this blog

OS VIRTUEMART PRODUCT

OSTheme Google Plus

Accordion Menu for Hikashop