1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Adding WWW. To My Domain

Discussion in 'Black Hat SEO' started by brettehl, Jul 16, 2014.

  1. brettehl

    brettehl Regular Member

    Joined:
    Mar 21, 2012
    Messages:
    233
    Likes Received:
    103
    Location:
    USA
    Hey,

    I purchased a domain for my PBN and according to majestic the www.domain.com has a lot higher stats than the domain.com version.

    So how do I make it so that my website is running on the www.domain.com version.

    Sorry for the noob question.
     
  2. UploadCash

    UploadCash BANNED BANNED

    Joined:
    Jan 12, 2014
    Messages:
    338
    Likes Received:
    63
    http://botcrawl.com/how-to-add-www-or-remove-www-from-your-domains-url-in-the-htaccess-file-with-normalization-rewrite-rules/
     
  3. Techxan

    Techxan Elite Member

    Joined:
    Dec 7, 2011
    Messages:
    3,093
    Likes Received:
    3,585
    Occupation:
    Local SEOist
    Location:
    TEXAS (you have to yell, its the law.)
    redirect the non www version to the www version
     
  4. yenerich

    yenerich Jr. VIP Jr. VIP Premium Member

    Joined:
    May 26, 2013
    Messages:
    1,007
    Likes Received:
    171
    Home Page:
    Usually its easy to do.


    In .httaccess file you should add

    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
     
  5. SEO Power

    SEO Power Elite Member

    Joined:
    Jul 14, 2014
    Messages:
    2,637
    Likes Received:
    680
    Occupation:
    Self employed
    Location:
    Houston, TX
    Login to your wordpress dashboard > Settings > General

    Change the wordpress address url and site url fields to the www version of your site.
     
  6. Aty

    Aty Jr. VIP Jr. VIP

    Joined:
    Jan 27, 2011
    Messages:
    5,407
    Likes Received:
    3,698
    Home Page:
  7. aka sam

    aka sam Jr. VIP Jr. VIP Premium Member

    Joined:
    Sep 15, 2011
    Messages:
    3,809
    Likes Received:
    894
    Gender:
    Male
    Occupation:
    Internet Marketer
    Location:
    Black Hat World
    Home Page:
    you just need to add a small piece of code in your .htacess file. You can google for the exact code.

    It would redirect the non www version to www version.
     
  8. pxoxrxn

    pxoxrxn Supreme Member

    Joined:
    Dec 21, 2011
    Messages:
    1,397
    Likes Received:
    2,066
    Don't worry about it. Just make sure the www version is redirected to the no www version. This is good practice anyway, otherwise you have your website on a sub-domain and the TLD.

    http://no-www.org/