the indexed url has one issue

by ohcn
3 replies
  • SEO
  • |
google indexed my url without "www" like: domain.com/example.html
the whole url should be:
www。domain.com/example.html

is this indexed url without "www" ok? which url (with or without "www") should i use for backlinks?

thanks,
#indexed #issue #url
  • Profile picture of the author gravtex
    At Google Webmaster Central you can tell Google how you want your domain to be displayed, but either way it's not going to hurt you. You can use either for backlinks, but just be consistent about it - always link using the www or never link using it.

    Gary
    {{ DiscussionBoard.errors[1916704].message }}
  • Profile picture of the author banless
    To avoid this from happening just 301 redirect the non www. to www. This way it doesn't matter which they link to all links will point to the www and for the most part will show up that way in the search engines as well.
    {{ DiscussionBoard.errors[1916759].message }}
  • Profile picture of the author secondeye
    Submit your sitemap with www.yoursite.com

    update your .htaccess file by adding

    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^yoursite.com [nc]
    rewriterule ^(.*)$ http://www.yoursite.com/$1 [r=301,nc]

    ErrorDocument index.html
    If any visitor type yoursite.com then it will automatically redirected to www.yoursite.com


    Thanks
    {{ DiscussionBoard.errors[1916782].message }}

Trending Topics