![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Sep 2001
Location: North America
Posts: 2,016
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 3,108
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
|
htaccess
__________________
[email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Registered User
Join Date: Aug 2002
Posts: 1,045
|
give this on top of your php file and change url:
header("Location: http://www.dmnt.net"); |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
So Fucking Banned
Join Date: May 2003
Location: San Pedro, Costa Rica
Posts: 788
|
If you use header(), make sure you use exit();after it or code could continue to be called following the redirect.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Mar 2001
Location: Murrieta, CA
Posts: 3,620
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |