WordPress Address with WWW?

Discussion in 'WordPress' started by FHI, Mar 2, 2008.

  1. #1
    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?
     
    FHI, Mar 2, 2008 IP
  2. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #2
    unless you put the "www" in it, Google won't let you submit a site map.
     
    hmansfield, Mar 2, 2008 IP
  3. FHI

    FHI Guest

    Messages:
    660
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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.
     
    FHI, Mar 2, 2008 IP
  4. NaughtyNeo

    NaughtyNeo Peon

    Messages:
    829
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #4
    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):
     
    NaughtyNeo, Mar 2, 2008 IP
  5. northwest

    northwest Peon

    Messages:
    277
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    In Wordpress admin, go to Options -> General Options tab. Here in the WordPress address (URL):, add the www to the URL.
     
    northwest, Mar 2, 2008 IP
  6. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #6
    Or you can go to Google webmaster tools and reset your preferences...funny, I just did this about 30 minutes ago.
     
    hmansfield, Mar 2, 2008 IP
  7. eng152

    eng152 Banned

    Messages:
    1,377
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #7
    use this option or Google web master tools ;)
     
    eng152, Mar 2, 2008 IP
  8. FHI

    FHI Guest

    Messages:
    660
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #8
    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.
     
    FHI, Mar 2, 2008 IP
  9. Stonkin

    Stonkin Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    This statement is not true.
     
    Stonkin, Mar 3, 2008 IP
  10. banji

    banji Well-Known Member

    Messages:
    109
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #10
    banji, Mar 3, 2008 IP
  11. gr8liverpoolfan

    gr8liverpoolfan Notable Member

    Messages:
    6,719
    Likes Received:
    538
    Best Answers:
    0
    Trophy Points:
    285
    #11
    Simply 301 one to the other. ( in your case, the non www to the www)
     
    gr8liverpoolfan, Mar 3, 2008 IP
  12. Stonkin

    Stonkin Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    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.
     
    Stonkin, Mar 3, 2008 IP
  13. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #13
    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.
     
    hmansfield, Mar 3, 2008 IP
  14. ebiz1022

    ebiz1022 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    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.
     
    ebiz1022, Mar 3, 2008 IP