Helo People, I am writing this thread So I can get some help. When I start my blog on 26th jan blog link was comming like http://adityavyas.com I wanted my link to look like http://www.adityavyas.com So arround 20th feb I changed that to http://www.adityavyas.com by going into wordpress admin panel "your site url" I hav put this there - http://www.adityavyas.com It was all done properly and working aswel. Problem I am facing - 1. When I open my site through http://adityavyas.com It doesnt show the update posts. It shows the posts till the date I changed it to www. 2. This link http://adityavyas.com is also into search engine when i open through search engine it dont see my updated blog. I am thinking It can damage traffic of my blog too. Does anyone Know how to fix this problem So when people go to my website the http://adityavyas.com open like http://www.adityavyas.com. and in url box it show www Please reply back if some one know about it. Will it effect my Link Building Process
depending on where your hosted is could be a resolving problem, or depending on where your domain kis registered,,,,use domain forwarding features to point the non www. domain to the www. domain... email if your looking to switch hosting and quote my name, LargeChimp Josh,
Simply add these on your .htaccess RewriteCond %{HTTP_HOST} ^adityavyas\.com RewriteRule (.*) http://www.adityavyas.com/$1 [R=301,L] To change the indexed pages on google, you can go to the webmaster tools -> Settings -> Set Preffered Domain and Wait for recrawl Hope this helps
Or if you are using go daddy or something of the likes you can forward the domain to www.yoursite.com
As Ayaw stated, this is quite easily fixed with a 301 redirect. Simply redirect all requests for the non-www pages to the www equivalent. If hosted on Apache, his method of using .htacces rewrite rules and conditions should work great.
Why would he go through the trouble to do that when the 301 redirect works just as well and is much safer and easier? Not ripping on you just wondering why you'd suggest mucking around with the database instead.