Jump to content

Exclude folder frow rewrite


Recommended Posts

  • 2 months later...

Hi,

 

same question: how can I exclude a folder from rewrite rules?

 

I added this under RewriteEngine on

RewriteCond %{REQUEST_URI} "/folder1/" [OR]
RewriteCond %{REQUEST_URI} "/folder2/" [OR]
RewriteCond %{REQUEST_URI} "/folder3/"
RewriteRule (.*) $1 [L]

 

etc ... the rest of original file ...

But nothing happened, I cant access the scripts from this folders, because I get the 404 error document. Without htaccess and seo-url, everything is ok.

 

Can anybody help me pls.

 

Thanks

Link to comment
Share on other sites

×
×
  • Create New...