Adding the 'www' to domains...help

by Emoney
4 replies
I have some domains but they show up as just the domain without
the www in front of it. How can I modify it so that it shows the www
in front?

I have hostgator for hosting and godaddy for domains.

Also, it also doesn't show the www in the search engines, just the

mysitehere.com

It's annoying, how can I add the www?

Thanks
#adding #domainshelp #www
  • Profile picture of the author Jose Delgado
    lol.

    yes you can change that, (well more like: you ask google to change it.)

    head on over to (https://www.google.com/webmasters/tools) and sign up.

    add your site and verify it.

    after you've done all this, go to tools > set preferred domain.

    and then you wait for google to do it's job on the next crawl.

    {{ DiscussionBoard.errors[196979].message }}
    • Profile picture of the author Eric Lorence
      You can add this code to your .htaccess file.


      RewriteEngine On
      RewriteCond %{http_host} ^domain.com [NC]
      RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

      With your proper domain name of course.

      {{ DiscussionBoard.errors[196991].message }}
      • Profile picture of the author Writing Warrior
        Cool . I learn something new everyday!
        {{ DiscussionBoard.errors[197598].message }}
      • Profile picture of the author Jared Alberghini
        Originally Posted by Eric Lorence View Post

        You can add this code to your .htaccess file.


        RewriteEngine On
        RewriteCond %{http_host} ^domain.com [NC]
        RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

        With your proper domain name of course.

        great tip Eric...
        Signature

        P.S.

        Join The Future: Telekinetic Marketing

        {{ DiscussionBoard.errors[197603].message }}

Trending Topics