redirect help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jasondavis
Forum Commoner
Posts: 60
Joined: Sat Feb 04, 2006 5:35 pm

redirect help

Post by jasondavis »

I need a way for a user when they type in for example www.mysite.com/4397293 for it to load http://collect.myspace.com/index.cfm?fu ... ID=4397293 I think this should probably be in an .htaccess file maybe mod re-write, anyone can give me an example to make this work?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Search through the forum, we've got a LOT of examples of mod_rewrite related threads.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Meaby we need a rewrite-rules generator... Or wait, probably someone has already written this.. Let's search the web, eg: http://www.webmaster-toolkit.com/mod_re ... ator.shtml.
User avatar
ed209
Forum Contributor
Posts: 153
Joined: Thu May 12, 2005 5:06 am
Location: UK

Post by ed209 »

Post Reply