Support No WWW

I think i m slow on this, it happen that when i realise my domain is having different page rank with the WWW and without. So doing some research and i found no-www.org

it happen that https://imknight.net is having higher PR then imknight.net but too bad i think i gonna follow the no-www & Url normalization , so good bye PR 4 …. it will be sometime before i see it again.

So how to do this for wordpress ?

  • go to Options and change the blog address and wordpress address to the no www domain ( you must do this first else you might not able to login the admin page)
  • for second part there is 2 way to doing this

if you not familiar with .htaccess then you can try this www redirect plugin , it allow you to

  • Ability to set redirect to www prefix. (i.e.: www.domain.com)
  • Redirect to non-www prefix. (i.e.: domain.com)
  • Redirect index.php requests to /

if you are familiar with .htaccess then you can just manually add this code in

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

By now when you test on www.domain.com you be redirect to domain.com , you are now a pround Class B for no WWW

Share it with your friends, thanks !
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on Google+
Google+
Share on Tumblr
Tumblr
Buffer this page
Buffer
Pin on Pinterest
Pinterest
Email this to someone
email

You may also like...