Redirect all requests to one page

New to mod_rewrite? This is a good place to start.

Redirect all requests to one page

Postby Chris » Wed Jun 30, 2004 9:12 am

Hi,

Hi,
I think I've read how the following can be solved so if anybody has a link to the post it would be great.

Is is possible to write a rewrite rule that catches all extinstions after the domain name e.g. /bla_bla and parses it to the page:

showcontent.php?pname=bla_bla .

How do I make a redirect that catches all incomming url:s

I suppose this is quite possible but how will for instance error pages etc be affected by this? will they be catched by such a script above?


Any help is greatly appreciated.

Chris
Chris
 

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 34 guests

cron