Home Forum
2012-02-07
Menu principale
Prodotti
Giochi a premi
Accedi ai servizi
Newsletter
Ricezione
Benvenuto, Ospite
Nome Utente Password: Ricordami

Open redirection in new window?
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: Open redirection in new window?

Open redirection in new window? 2 Anni, 5 Mesi fa #437

Hi,

I am using some affiliate links on my website, which I would like to "hide", so that it looks something like this:

www.mydomain.com/partnerpage1

--> should redirect to:

www.partnerpage.com/affiliate-id_05343.... etc.

Is it possible to make the redirected page open in a new window (TARGET="_blank"), so that I don´t lose my visitor when he follows a link?

Thanks for your help!

Regards,
David

Re:Open redirection in new window? 2 Anni, 5 Mesi fa #441

  • admin
  • Offline
  • Administrator
  • Messaggi: 1326
You can do it with a trick, not just with a redirect (and ReDJ).

First, let me spend two words on how redirect works...

Normally, when you call an url (e.g. www.mydomain.com/partnerpage1) from your browser, the response from the server has a return code 200, followed by the content of the page.

When the server want to redirect your browser on a different page, it send you a return code 301 (or 307) followed by the new url. There is no page content at all.

What you can do at this point is, when your browser goes on the new url:

www.partnerpage.com/affiliate-id_05343....

then you can send the content of this new page, and inside you insert a popup code. That's all.

I hope it was clear.

Luigi

Re:Open redirection in new window? 2 Anni, 5 Mesi fa #446

Thanks for the quick answer Luigi!

That's all pretty clear!
I'll play around a little, to see what works best.

regards,

David
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.87 secondi
News
Cerca con Google
Chi è online
 73 visitatori e 1 utente online
Pubblicità