I want to redirect my domain from http://domain.com to http://www.domain.com which will help my seo but the problem i have is my blog is found at http://domain.com/blog When i put the 301 redirect code in the htaccess file i get a problem with my blog not loading up. Is there a way to move my blog to http://www.domain.com/blog ? Thanks Jason
Yeah, try not to place it in the .htaccess page and instead, in the index you just redirect as such using simple HTML: <meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/index.html"> Try that and let us know the outcome. Good luck.
That code is redirecting fine but once you get to the home page it continues to refresh itself, homepage loads up and then refreshes, it continues to do this until i took the code out. Any ideas on why this would be happening ? Jason
Well when they visit your website.com, that code should take them to whatever you directed such as website.com/blog. It won't make a difference if you did htttp:// or www. It's the same thing when it comes down to redirecting. Make sure you don't redirect them back to the same page where put the code on.