Is there a script that will redirect one domain to two others..?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JohnnyNight
    Confirmed User
    • Jun 2012
    • 484

    #1

    Is there a script that will redirect one domain to two others..?

    So if you have a domain: yourdomain.com

    And you want to immediately redirect users to two other domains with yourdomain.com becoming one of the domains being redirected to and a popunder for the second domain..

    I know it's hard to do a lot things these days because of browser changes..

    Thanks..
  • sarettah
    see you later, I'm gone
    • Oct 2002
    • 14378

    #2
    Originally posted by JohnnyNight
    So if you have a domain: yourdomain.com

    And you want to immediately redirect users to two other domains with yourdomain.com becoming one of the domains being redirected to and a popunder for the second domain..

    I know it's hard to do a lot things these days because of browser changes..

    Thanks..
    First, if one of the domains is yourdomain.com and that is where you are doing this then you do not need to redirect to yourdomain.com.

    You just need to do a popunder to the other domain from your index page.

    Not seeing a redirect anywhere in there.

    Maybe I am missing something. Not sure.

    .
    All cookies cleared!

    Comment

    • JohnnyNight
      Confirmed User
      • Jun 2012
      • 484

      #3
      Hi,

      The yourdomain.com is an empty domain except for the scripts..

      I want to auto redirect to two sponsor offers, so there is nothing on the yourdomain.com except scripts, but of course what I really need to know is if such as thing is possible with todays browsers..

      I could use the yourdomain.com as framed sponsor landing page possibly, but haven't done this type of thing for a few years and lost track of what is possible and what is not..

      And trying to find a script to do it..

      Comment

      • sarettah
        see you later, I'm gone
        • Oct 2002
        • 14378

        #4
        Originally posted by JohnnyNight
        Hi,

        The yourdomain.com is an empty domain except for the scripts..

        I want to auto redirect to two sponsor offers, so there is nothing on the yourdomain.com except scripts, but of course what I really need to know is if such as thing is possible with todays browsers..

        I could use the yourdomain.com as framed sponsor landing page possibly, but haven't done this type of thing for a few years and lost track of what is possible and what is not..

        And trying to find a script to do it..
        About the closest I think you could do would to be to put up an index page. You could iframe one sponsor offer there or you could use a meta redirect after a few second to push to a sponsor. On the same index page run a javascript for the popunder. Whether the popunder works or not depends on what kind of ad blocking the user is running and what levels of protection they have dialed in on their browser.

        .
        All cookies cleared!

        Comment

        • JohnnyNight
          Confirmed User
          • Jun 2012
          • 484

          #5
          Yeah.. that was what kind of what I was thinking..

          Thanks

          Comment

          • twistysglam
            Registered User
            • Jan 2013
            • 85

            #6
            Wouldn't be too hard.

            Just needs a simple PHP script or htaccess file with the appropriate rules placed at the root of the domain.

            Contact me if you need one.
            Email: william.thedev[at]gmail.com
            Skype : william.thedev

            Comment

            Working...