Look at the followings: http://petfriendlycabins.net/ - WORKS http://www.petfriendlycabins.net/ - NOT WORKING! My site disappeared from Google search results for main keywords. The only thing I can think of is that this site is missing the www part. I've double checked the DNS setting. Everything is setting up like my other domains but only this domain has a problem. Can anyone help?! Thanks in advance! Built in A records petfriendlycabins.net Custom A records *.petfriendlycabins.net Built in MX records petfriendlycabins.net
I don't think .htaccess b'coz when we install the any script and want to change or install in sub domain than it will be useful not with "www." it is the default with every website. For ex- www.filesearching.org filesearching.org May be i am wrong but i have done this my with my some websites.
Thanks for all the suggestions folks! I've added the .htaccess file as many of you had recommended to force the www: Options +FollowSymlinks RewriteEngine On RewriteCond %{http_host} ^petfriendlycabins.net [NC] RewriteRule ^(.*)$ http://www.petfriendlycabins.net/$1 [R=301,L] The above .htaccess file seems to work since I can see the browser trying to redirect from non-www to www. However, now the browser give me a redirect loop error because I can see that something else is forcing the www back to non-www. As far as I know, there are no other .htaccess files at play here. Has anyone else encountered this? Separately (and more importantly), the site is no longer being indexed by Google. Could it be cause by the lack of www? The non-www URL works fine.
Hmm. Very odd. The .htaccess you pasted should go to www.domain but as you say, it is being redirected to .domain. Nothing in the absolute root? Y'know, above public. Nah, you're indexed and ranking quite well on Google for the .domain (rather than the www.domain) url. I wouldn't touch it if I were you. Edit: btw, you have a typo on your site - PetFriendlyCabins.com
Simply because it LOOKS like a shorter URL.. Personally, I force WWW for my own reason.. But I used to use non-www simply because shorter URLs are more appealing.. Chuckun
They both work for me also. Might be worth checking your web browser and clearing your cache. That helped me the last time that issue happened with my website. Regards, M1chael
Also, try this... Run CMD (in Admin Mode on vista/win7 - Start > Programs > Accessories > right click "Command Prompt" and Run As Administrator). type ipconfig /flushdns (I think that's it anyways.. I dont remember, its been ages since I used Windows..) Chuckun