Jump to content

mod_rewrite question


Mesh3L

Recommended Posts

Hello,I'm a mod_rewrite newbie. I want to do the following :If a user visits www.mysite.com/ (numbers only)to be forwarded to : www.mysite.com/test.php?number= ( what ever the user entered above )But, if anything other than numbers is entered it doesn't forward to that page. Instead it takes them to www.mysite.comAnd if a user visits an existing page, nothing should be done (e.x www.mysite.com/example.php)Thank you

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...