Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Thread: 

Redirecting non-www to www with .htaccess?

Ads
banner
banner
banner
banner
zorro Offline referral

Posts: 127
Joined: Mar 2014
Reputation: 0

#1
Member
I am able to access my website from both www and non www URL I know that this will cause duplicate issue with the SEO how to 301 redirect it?
marcus_avrelius Offline referral

Posts: 2,424
Joined: May 2013
Reputation: 102

#2
Support Team
It's quite important for SEO you right about that. Simply open or create a new htaccess file and add this code to it:

Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

Remember that this only works of Apache servers!
Looking for ways to make money fast? Read this article and start earning money todya fast, easy or for free.





User(s) browsing this thread: 1 Guest(s)