
Originally Posted by
PetleyJ
The blog seems to run on and off, it's more the /competitions and /community that isn't working.
Apply the same fix to the RewriteCond I posted for the blog. I'd actually apply the change to any external directory you want to exclude to handle the case where an incoming link (or hand typed URI) is missing the trailing slash.
Code:
# Don't rewrite blog directory
RewriteCond %{REQUEST_URI} !^/blog($|/) [NC]
# Don't rewrite community directory
RewriteCond %{REQUEST_URI} !^/community($|/) [NC]
# Don't rewrite competitions directory
RewriteCond %{REQUEST_URI} !^/competitions($|/) [NC]
While there are other methods to simplify the RewriteConds (such as excluding all real folders and files from rewriting), I have an inkling of why the original author of this mod may have decided to not go this route.
If you did not obscure your admin folder when you posted your .htaccess file, I would recommend changing the admin folder asap :)
Bookmarks