I apologize if this is the wrong place for this, and if it is, I'll gladly move it.
I'm lookin for some help with an htaccess. Basically, I have a site with a blog (a Wordpress) in a subfolder (/blog). What I'd like to do is have it so when someone visits the homepage, they see the blog homepage, and if they go elsewhere, they're directed to a dispatch I wrote.
The issue I have is that while it works on the live server, it doesn't work on my local testing server. The blog just feeds back a 404. Because they're behaving differently, I can't figure out if I'm doin something wrong or if its just the local settings. The following is my htaccess.
Code:ErrorDocument 403 errors/403.php ErrorDocument 404 errors/404.php Options -Indexes +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_URI} !^/Mafia_v2/serverReturns/.*\.php$ RewriteCond %{REQUEST_URI} !^/Mafia_v2/blog/ RewriteCond %{REQUEST_URI} !^/Mafia_v2/test\.php$ RewriteCond %{REQUEST_URI} !^/Mafia_v2/dbBackup\.php$ RewriteRule !\.(css|jpg|js|gif)$ dispatch.php RewriteCond %{REQUEST_URI} ^/Mafia_v2/$ RewriteRule !\.(css|jpg|js|gif)$ blog/index.php



Reply With Quote
Bookmarks