Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I don't know what the correct term is for this but I'd like to redirect exampleA.com to exampleB.com without changing the URL in their address bar at all.

So for example:

  • User visits: exampleA.com and gets redirected to exampleB.com
  • Address Bar: Displays exampleA.com

Additionally all links on exampleB.com should be shown as exampleA.com in the status bar and address bar.

  • Is this possible? How?
  • What is the ramifications of this in terms of SEO?
share|improve this question

migrated from stackoverflow.com Jul 20 '11 at 11:59

This question came from our site for professional and enthusiast programmers.

sounds dangerous. and off topic. – Edgar Velasquez Lim Jul 20 '11 at 4:52
What OS/webserver stack are you using? – Corey Henderson Jul 20 '11 at 4:53
@Edgar: Its not what you're thinking. :S – Nimbuz Jul 20 '11 at 5:05
@Corey: Shared Hosting so Linux/Apache. – Nimbuz Jul 20 '11 at 5:05

This will hurt your SEO as you will run into duplicate content issues. If you do this you need to use canonical URLs to tell Google which site is the main site you want to see listed in their search engines. It also acts like a 301 redirect so links to the secondary domain count towards its counterpart on the primary domain.

share|improve this answer

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.