Adding WWW. To My Domain

brettehl

Regular Member
Joined
Mar 21, 2012
Messages
235
Reaction score
105
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.
 
http://botcrawl.com/how-to-add-www-or-remove-www-from-your-domains-url-in-the-htaccess-file-with-normalization-rewrite-rules/
 
redirect the non www version to the www version
 
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]
 
Login to your wordpress dashboard > Settings > General

Change the wordpress address url and site url fields to the www version of your site.
 
 
Last edited by a moderator:
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.
 
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/
 
Back
Top