Link to home
Start Free TrialLog in
Avatar of Kaprice
KapriceFlag for United States of America

asked on

Best URL Masking on Redirect

I searched EE, first, but didn't find a definitive answer.

I'm looking for the best way to redirect from a domain page I own to a domain I do not own (such as an affiliate site) while keeping the address bar showing the URL I own.

For example: www.MySite.com

Redirects to: www.AffiliateSite.com/ref=12345&new&x=5132f8

Address bar shows: www.MySite.com

I understand IFrames can do this, but I lose any SEO benefits that might be on AffiliateSite. And, IFrame busters can stop it. Maybe these are uncommon and not worth worrying about.

301 redirects but shows the new domain in the bar.

I guess JavaScript can do it but depends on browser allowing JS.

Are there other options that can do what I need?
ASKER CERTIFIED SOLUTION
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Kaprice

ASKER

So, before showing an iFrame or Frameset, you can always show a header which can tell the search engine about what iframe page will do.

Open in new window


I tried adding some text AFTER the frameset, but it never showed up. I can see it in the View Source, but not in the rendered browser page.

Simplified code:

<html>

<head>
  <title>My Original Page </title>
</head>
<frameset rows="100%,*" border="0">
  <frame src="http://www.RedirectToHere.com/" frameborder="0" />
  <frame frameborder="0" noresize />
</frameset>

<H1>Sample Text</H1>
<!-- pageok -->
</html>

Open in new window


Nothing after the close frameset displays.

I don't want to display ABOVE the frameset because I don't want to disrupt the design of the destination page.

Would it make a different if I used iframe instead of frameset?

Other suggestions?
Avatar of Kaprice

ASKER

Or, if I use the <noframes> tag after the <frameset> tags, would the text in the noframes be used for SEO?
Avatar of Kaprice

ASKER

No answer on how to have text below the frameset? if I want to display the OTHER webpage at the top of MY page in a frameset and then have my own text and graphics below that, how can I do that?
Avatar of Kaprice

ASKER

Not the answers I was hoping for, but maybe that's not the Expert's fault. Maybe it can't be done.