php coders... redirect help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • the indigo
    Confirmed User
    • Sep 2001
    • 2016

    #1

    php coders... redirect help

    I want to redirect all traffic going to MPA2's hit.php page to our tour page.

    I'm dropping MPA2 all together and don't want to manually change 100s links.
    "There he goes. One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die." -Hunter S. Thompson
  • Nathan
    Confirmed User
    • Jul 2003
    • 3108

    #2
    How do you plan to do your affiliate stuff after dropping MPA2?

    Contact me on ICQ: 1889711
    "Think about it a little more and you'll agree with me, because you're smart and I'm right."
    - Charlie Munger

    Comment

    • Chris
      Too lazy to set a custom title
      • May 2003
      • 27880

      #3
      htaccess
      [email protected]

      Comment

      • savas
        Registered User
        • Aug 2002
        • 1045

        #4
        give this on top of your php file and change url:
        header("Location: http://www.dmnt.net");

        Comment

        • KidCock
          So Fucking Banned
          • May 2003
          • 788

          #5
          If you use header(), make sure you use exit();after it or code could continue to be called following the redirect.

          Comment

          • Due
            Confirmed User
            • Mar 2001
            • 3620

            #6
            The easiest thing to do would be just make a permanent redirect from htaccess.
            If you need something more, like keeping track of reffering ID's and carry them over to a new page or whatever hit me up on ICQ.
            I can do that pretty cheap and shouldn't take long to make
            I buy plugs
            Skype: Due_Global
            /Due

            Comment

            Working...