Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have which is set up as the alias of For better ranking etc I want search engines to only crawl How do I "remove" ?

Is it the same method as removing www (which I'll also be using) ? if so what's the code ?

share|improve this question

1 Answer 1

The best way is to 301 Redirect all requests for (or or to using .htaccess or a similar method. Google will tell you how, or there are a few questions on this site.

You can also tell Google of a "change of address" through Google Webmaster Tools.

share|improve this answer
If google told everything stackexchange wouldn't exist. I found several example code to do each redirects but since I don't know mod_rewrite I don't know what the differences mean nor how to combine rules. – user2534 Aug 4 '11 at 8:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.