I have a proxy listing script and also a blog http://www.proxy.biz and the blog is on http://www.proxy.biz/blog anyhows the htaccess has the content as: RewriteEngine On RewriteRule ^advertise/? index.php?action=advertise RewriteRule ^contact/? index.php?action=contact RewriteRule ^contact/? index.php?action=contact RewriteRule ^proxy/(.*)? index.php?action=proxy&proxy=$1 RewriteRule ^submit/? index.php?action=submit RewriteRule ^paypal/? index.php?action=paypal RewriteRule ^viewed/? index.php?action=viewed <IfModule mod_rewrite.c> I have also added a blog in www.proxy.biz/blog and have updated the permlinks - its then asks me to update the htaccess with this: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /blog/index.php [L] when i put in either or try to put both the part of the htaccess in the file i can either reach my blog perm posts and then not reach my internal links on the main proxy.biz main page?? i hope this makes sense - driving me crazy. hopefully someone is laughing at this and will post an easy solution if someoine knows a quick way etc please pm me or post, i would be glad to do a donation
Put the .htaccess file for the blog in the /blog/ directory and the other .htaccess in your root directory. That should fix your problem right there. Also, you might want to add a RewriteBase / in between these two lines RewriteEngine On RewriteRule ^advertise/? index.php?action=advertise like this... hope this helps.