Forum Moderators: phranque
I have a mod_rewrite rule in my .htaccess file. It makes index.php?cat=this&page=that into mysite.com/this/that/.
Now, I also have some blogs, which are located at mysite.com/blogs/INSERTNAMEHERE/. Because this is the same pattern as my mod_rewrite, it picks up the index.php, but /blogs/INSERTNAMEHERE/ is a real directory. Is there any page I can make Apache ignore /blogs/insertnamehere/ and display the actual contents in the directory (and NOT use mod_rewrite)?
Here are my rewrite rules if this helps any:
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_URI}\\/%{HTTP_HOST}/www.//s%{HTTPS} ^/+(.+/)?[^.]*[^/]\\(/)([^w][^w][^w][^.].*/(www\.)¦.*)//((s)on¦s.*)$ [OR,NC]
RewriteCond %{HTTP_HOST}/www.//s%{HTTPS} ^(/)?(/)?([^w][^w][^w][^.].*/(www\.))//((s)on¦s.*)$ [NC]
RewriteRule ^ http%6://%4%{HTTP_HOST}%{REQUEST_URI}%2 [L,R=301]
RewriteRule ^(.*)/(.*)/ index.php?cat=$1&page=$2 I just discovered that I can't load images either because it's in the form of mysite.com/images/this/that.gif or whatever. UGH! There must be a simple fix, I'm just not very good with mod_rewrite
Thanks in advanced