Increase size of text:   A  A  A

Monday, March 23, 2009

Correctly redirecting secondary domains to a primary domain

Ok, so say you want everyone who goes to domain.com to be magically redirected (in a search engine-friendly manner) to www.domain.com. Lots of reasons you might want to do this, but most relate to analytics. Google has a handy guide just for you.

In short, though, you’re setting your web server to 301 (permanent redirect) all requests to certain domains over to the preferred domain. Doing it as the server level means you don’t have to do it at the script level (no PHP or ASP scripts doing redirects here). Check out the article for specifics.

posted by Brad Kelley at 2:37 pm  

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Powered by WordPress