WordPress address (URL): Blog address (URL): For some reason Google and other sites were indexing my site as http://site without the www. In the options section of wordpress I changed it to http://www.(mysite). Which way is correct?
Hmansfield, if I keep the www then everything will be cool? Not sure how/why I set it up without it in the first place.
What you have done is fine. If you want to make sure google is indexing only one version (only www.) then you can do a 301 redirect to tell the search engine crawlers that you have moved the page permanently. Update your htaccess with, Options +FollowSymlinks RewriteEngine on rewritecond %{http_host} ^domain.com [nc] rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc] Code (markup):
In Wordpress admin, go to Options -> General Options tab. Here in the WordPress address (URL):, add the www to the URL.
Or you can go to Google webmaster tools and reset your preferences...funny, I just did this about 30 minutes ago.
I just changed it in webmaster tools. How will google know that I really don't have two sites since they index them? I don't want them to think that I am running duplicate content or tricking them into indexing my content twice. EDIT: Just found it under tools: Set preferred domain Loading... Help greenhomeimprovements.info www.greenhomeimprovements.info If www.greenhomeimprovements.info and greenhomeimprovements.info point to the same site, you can tell us here how you want URLs to display in our index. Display URLs as www.greenhomeimprovements.info (for both www.greenhomeimprovements.info and greenhomeimprovements.info) Display URLs as greenhomeimprovements.info (for both www.greenhomeimprovements.info and greenhomeimprovements.info) Don't set an association. Note: Once you specify your preference here, it may take some time for changes to be reflected in our index. While Google doesn't guarantee that we'll show your URLs in the form that you prefer, we will use your choice as a suggestion to improve our indexing.
or you can just install Enforce www. Preference Plugin. If I'm not mistaken, google will see both sites with www or without one as one site.
I have just been reading through this thread again. I think I understand what you are getting at now FHI. Are these facts correct? Your blog address was set to sitename.com when you started. You recently changed your preference in Wordpress general options to www.sitename.com. If this is the case you have already recieved the advice you need "setting your www preference in Google Webmaster Tools". It will be updated in Googles index reasonably quickly.
I honestly just did this yesterday, and I was not allowed to submit a sitemap, unless I changed my preference from "http://124bpms.com", to "http://www.124bpms.com". After that it allowed me to submit a sitemap.
That is strange, because I submitted my sitemap two days ago without the www. It has been approved and my blog has already been indexed.