1-800-273-7638

Canonical Issues – Redirecting non-www to www

SEO consultants prefer to redirect domain.com to www.domain.com for SEO purposes. The thought is that some incoming links point to their non-www domain and some point to the www domain. So if the domains are consolidated, incoming links are as well. SEO consultants who use this redirect usually see instances of search engine rankings with and without the www in their listings and want to consolidate their efforts.

Add the following four lines to your .htaccess file, replacing ‘domain.com’ with your site’s domain:

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Why Cresoft?

Cresoft is one-stop resource center for dynamic Web solutions, business process automation tools and custom software development.


Call 1-800-CRESOFT to speak to one of our Internet consultants.

SEMPO Member AdWords Logo Yahoo Ambassdor adExcellence Member
Certified SEO

RSSCresoft on Twitter

SUBSCRIBE

Email:

Subscribe
Unsubscribe