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

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 whats the correct term for it, but what I'd like is to forward users visiting domain1.com to domain2.com without changing the URL in their address bar at all, IE. show contents from domain2 but without showing domain2.com in the address bar.

So for example:

User visits: http://domain1.com/path/to/internal/link/ Should be redirected to: http://domain2.com/path/to/internal/link/

Additionally all links (<a> tags) on domain2.com should be shown as domain1.com in the status bar and address bar.

It is possible without using iframes or other dirty hacks that might hurt SEO?

Many thanks!

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.