Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htaccess Rewrite Problem

Status
Not open for further replies.

LeonKl2

Programmer
Jun 16, 2003
26
US
Hello,

I am trying to redirect *all* requests made to my website to a single page and also pass on which page was originally requested.

Currently I am trying to do something like:

RewriteRule ^(.*) index.php?c=$1

However, what is passed on always seems to be "index.php".

Any ideas?

Thanks,
Leon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top