Hello friends! I need your valuable guidance to redirect safely my site to www. format I have http://www.sportsstatsblog.com Whenever I type only http://sportsstatsblog.com then it remains same and whenever I type http://www.sportsstatsblog.com it also remains same. So I need to redirect safely my http://sportsstatsblog.com to http://www.sportsstatsblog.com. Please guide me. I got this problem when I analysed my site with SEO tool. It says something 303 method. But I don't know anything. My site is based on Joomla 1.5 Your guidance will surely help me! Regards Adwaitk007
Put this in your .htaccess file RewriteCond %{HTTP_HOST} ^example.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] Code (markup):
Problem solved! thumbs up to brad proctor, however I was about to tell you the same. It is 301 type of redirect and same.
thanks but now another similar problem I was just cheking google indexed pages site:www.sportsstatsblog.com here where I got to know that the links indexed are of my old blog which was in wordpress. after clicking on links it's showing 404 error. Now I am on joomla so I want to redirect that specific link to the current link by same method. Is it possible? I tried with same method but didn't worked! Any changes there in this redirection? Regards Adwaitk007
similar in .htaccess Redirect 301 /page.php http://www.example.com/newpage.php or a full directory Redirect 301 /dir/ http://www.example.com/newdir/