I have this file and it works for me. RewriteEngine On RewriteCond %{HTTP_HOST} ^europeword\.com$ [NC] RewriteRule ^(.*)$ http://www.europeword.com/$1 [R=301,L] Now i got a blog europeword.com/blog so i made a file looking like this RewriteEngine On RewriteCond %{HTTP_HOST} ^europeword\.com$ [NC] RewriteRule ^(.*)$ http://www.europeword.com/$1 [R=301,L] RewriteCond %{HTTP_HOST} ^http://www.europeword.com/blog/index.php $ [NC] RewriteRule ^(.*)$ http://www.europeword.com/blog /$1 [R=301,L] It wont work. It wont even load my website. I need to redirect blog/index.php into just /blog HELP Please.
just making one guess/observation here, is the "\" before the .com correct? I mean, is it supposed to be there? I've seen a few htaccess file solutions, but I don't think I've seen it set up with the "\.com" before.
To be honest, i don't know... It works with it, but you have a good point. I will try to take it off and see maybe it will work without it. thanks Anyone else ???????????????
I don't know too much about it, and I'm working on my file right now. Once I finish what I'm doing, if no one else comes around to help you out I will try to duplicate what you are trying to do and see if I can help you find the solution.