How to Redirect WWW to be Non-WWW
by Admin on May.11, 2010, under SEO, Tips & Trik
How to Redirect WWW to be Non-WWW
This post complements the previous post “Non-WWW is different from WWW. This topic is important!”. This topic is important! This post also made to answer Rumingkang’s comment. It is so silly that I teach you the same an the difference between non-WWW and WWW but do not teach you how to redirect it (change it).
As I explained at a glance, the difference in the www and non-www can affect the SEO of a website. In fact I saw a website with the www has a pagerank 3, while the non-www has no pagerank at all. More details always read “Non-WWW is different from WWW. This topic is important!”
Now I’ll teach you how to redirect non www to www. For those of you wordpress blog owner, do not have a headache you can simply choose whether you want to be blog www or non www, because wordpress has provided the setting itself. But to a blog or another website must be set manually, I’ll teach you how.
How to redirect www to non www to wordpress:
1. Sign admin
2. Search at the bottom of the Settings – Click on the General
3. At the option wordpress address (URL), enter your domain name, either with www or non www up to you
4. Click Save Changes
How to redirect non www to www for Blog / Website Other:
1. Sign in file manager in your cpanel hosting, or you can use FTP up to you.
2. Browse and enter the installation folder blog / your website
3. Search. Htaccess file, then edit the file
4. Add code
Options + FollowSymlinks
RewriteEngine on
RewriteCond% (http_host) ^ www.domain.com [nc]
RewriteRule ^(.*)$ http://domain.com/ $ 1 [r = 301, nc]
5. Change the text color with your domain name. Yellow text that is your choice. If you want your website with the www, then the yellow text was changed to www.domain.com while the blue text changed to domain.com, and vice versa.
6. When you’re done, save
Just try the tutorial. Remember the “domain.com” is replaced with your domain name



October 18th, 2011 on %I:%M %p
mas. Saya dah coba buat file.htacces tp tetep yg pake www selalu server not found. Apa dari settingan dompanelnya atau dr hostingnya. Coba klik http://www.zokebro.com pasti eros
October 19th, 2011 on %I:%M %p
to: edwar
anda tidak bisa menggunakan settingan redirect www dengan htaccess di hosting gratis, karena anda perlu meminta pihak webhosting untuk mengaktifkan mod rewrite di cpanel anda. Jadi kalau anda menggunakan hosting berbayar, anda bisa meminta tolong pada pihak web hosting anda untuk mengaktifkan mod rewrite
September 9th, 2011 on %I:%M %p
thanxs gan, bisa dipraktkin nih
August 30th, 2011 on %I:%M %p
Nice info gan…
July 9th, 2011 on %I:%M %p
Mantap artikelnya.. thanks