Technically speaking, both www and non-www are 2 different websites and as such may be penalised by search engines for duplicated content. From an SEO perspective it is always best practice to redirect your non-www site URL to www or your wwww. to your non-www version.
Our site www.accrodigital.com, for example, has a redirection from non-www (http://accrodigital.com) to www (http://www.accrodigital.com). In other, everytime anyone type http://accrodigital.com will be redirected to www.accrodigital.com. Note the "www" in the second URL.
Technically, the non-www version and the www version are two different domains. So redirecting one to the other improves our SEO. Google and other search engines won't have to worry about two different domains.
This tutorial will show you how to redirect your whole website to either non-www or www.
Please note that you will need to find and access your htaccess file. It is located at the root of your website server.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^www.yourdomain.com [NC]
RewriteRule ^(.*)$ http://yourdomain.com/$1 [L,R=301]
I hope that this tutorial will help you. Please leave your comment below if any.
Fabien Bello has been working in web and app develoment since 1997. He has held numerous positions from game developer to head of creative and product development for major firms such as Xerox, Gala Coral Group. Fabien continues contributing to online community, owns and manages several websites as well as offering consultancy to all size businesses.
best 10 online pharmacies
http://canadianpharmacycenterhd.com/
best mexican online pharmacies
overseas pharmacies that deliver to usa
http://canadianpharmacycenterhd.com/
mexican pharmacy
canadian online pharmacies ratings
http://canadianpharmacycenterhd.com/
canada pharmaceuticals online
ivermectin price comparison ivermectin for sale - ivermectin usa
Very good blog! Do you have any helpful hints for aspiring writers?
I'm planning to start my own website soon but I'm a little lost on everything.
Would you propose starting with a free platform like Wordpress or go for a paid option? There are so many
options out there that I'm totally confused .. Any ideas?
Cheers!
P.S. If you have a minute, would love your feedback
on my new website
re-design. You can find it by searching for «royal cbd» — no sweat if you can’t.
Keep up the good work!
June 13, 2012 - vidalista de 60 mg y edegra 100 mg y tetosterona viagra generique livre sous 48h vidalista 40 http://www.kamagrapolo.com
How lengthy can the as a rule mortals continue to be raise with viagra without a doctor prescription from canada paypal account. An erection can last from a few minutes to give half an hour. On normal, men bear five erections a night while they're sleeping, each lasting less 25 to 35 minutes to https://doctorhims.com/# viagra without subscription.
cheap ed pills from canada cheap ed pills in mexico
cheap ed pills: https://medrx100.com/ canadian drugstore online
mens erections buy ed pills from canada
cheap ed pills from india otc ed pills
buy ed drugs: https://medrx100.com/ online meds for ed
cheap ed pills in mexico medication for ed
Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.