1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Redirect problem

Discussion in 'General Scripting Chat' started by djmagnus, Aug 11, 2014.

  1. djmagnus

    djmagnus Newbie

    Joined:
    Oct 31, 2013
    Messages:
    3
    Likes Received:
    0
    Hi,

    I am wondering how to make to my webpage that kind of redirection, like if someone comes to my site, it opens right away in new tab/new window a next site. (like porn sites :D) ?

    I am new here and my english is not very good.

    Thanks for help! :)
     
  2. peetrike

    peetrike Power Member

    Joined:
    Aug 19, 2012
    Messages:
    585
    Likes Received:
    219
    Location:
    Estonia
    You should check some pop-under scripts. If i´m not wrong some are shared here so use the search box. If you explain more what`s your main purpose to do that i think we can find you better (safer) solution. Depends what you exactly want you may even need some referer faking or similar solutions.

    Cheers
     
  3. djmagnus

    djmagnus Newbie

    Joined:
    Oct 31, 2013
    Messages:
    3
    Likes Received:
    0
    i need it to my landing page, so if people are coming to my landing page it automaticly opens affiliate offer webpage in new tab or window. My landing page is on wordpress maybe someone knows nice plugin?
     
    Last edited: Aug 11, 2014
  4. peetrike

    peetrike Power Member

    Joined:
    Aug 19, 2012
    Messages:
    585
    Likes Received:
    219
    Location:
    Estonia
    Do you want that the visitors see also your site or just the affiliate offer? If you want to have conversions on affiliate offers then you better cloak the traffic. If you get traffic from search engines then visitors will only see the affiliate offer and search engine bots will see your site. Depending the affiliate offers you may need fake referer as some of your correct site which affiliate network approves. There are plenty of instructions on cloaking section for this solution.

    Cheers
     
  5. djmagnus

    djmagnus Newbie

    Joined:
    Oct 31, 2013
    Messages:
    3
    Likes Received:
    0
    i need that both links opens, this is is easy to make redirection as the visitor comes to my page. But that means only the affiliat offer stays open. So ideal solution would be that someone who comes to my page will click nomatter where and my page stays open but in new tab/window opens next page.
     
  6. member8200

    member8200 Regular Member

    Joined:
    Aug 9, 2014
    Messages:
    470
    Likes Received:
    33
    try this very simple script. this will open a new window. Put this on top of your webpage.
    <script type='text/javascript'>window.open('http://www.site.com');</script>

    very simple script indeed. :) hope this helps
     
  7. thierjaoerugher

    thierjaoerugher BANNED BANNED

    Joined:
    Oct 28, 2014
    Messages:
    8
    Likes Received:
    2
    me to the same problem. thanks you for help.