www. is deprecated. At least that's what the guys from no-www.org are trying to tell us.
I must say that I share the same opinion: whether or not you are typing in the www part, you should always be directed to the same page. The www subdomain is the most commonly used subdomain, and so it should not be relevant anymore. Most visitors don't understand the difference anyway.
What bothers me the most, is when websites spit back an internal error because you left out the www part. How stupid is that? This way, a lot of visitors can't even get to the website, just because the webmaster didn't care (or didn't know?).
To push webmasters a bit more: search engines like Google treat www and no-www as two different websites, creating duplicate search results. This affects your pagerank in a negative way!
So, the best solution is to just forget about the www subdomain: permanently redirect all www visitors to the no-www website. How can you do this? Just add these three lines to the .htaccess file located in the root directory of your website:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
This way, both the www and no-www links will work, and only the non-www links will remain visible to the visitors. It's as simple as that!
Dit is het dan: ons stukje grond.
Nu gewoon nog even de bomen kappen, putje graven, het huis plaatsen, en we kunnen verhuizen... of zie ik het net iets te eenvoudig?
Wordt zeker nog vervolgd!
Select your provider:
or switch to site login