Naked domain to www redirection .htaccess code

I know, that many struggles in avoiding the duplications of your web contents through www.domain and just domain.

Basically, search engines consider www.domain & domain as 2 separate websites.so, your contents will be considered as duplicate contents, the value of your web contents will be reduced.

You can avoid this by using  .htaccess code on the root folder of the website
This .htaccess codes using the apache mod_rewrite module.

Naked domain to www redirection .htaccess code

do, give us your feedback on the results.

Consider Looking at our other posts on Hosting & Linux

About ilangovan ramasamy

I am a IT manager on a Corporate co. Started My Career In a Internet Center. having 10 years on Experience on IT. Very much Interested in knowing New technologies & gadgets. Wrote many Articles & how to’s for Computer Related issues. As I am in to hosting industry We face many issues on work. I thought of sharing my knowledge with you and writing so. If you guys feel something is interesting & helpful, Please do comment on it.

View all posts by ilangovan ramasamy →

Comments