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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rewrite?

Status
Not open for further replies.

bezking

IS-IT--Management
Jun 14, 2007
38
US
Hi,
I run a PHPNuke installation. The url structure I have is this:

/cms2/index.php AND
/cms2/modules.php?name=Name
Which may also show as:
/cms2/modules.php?name=Content&pa=showpage&pid=1

I would like to mod_rewrite these to look like this:

/cms2/modules.php?name=Name ==> /cms2/modules/Name
/cms2/modules.php?name=Content&pa=showpage&pid=1 ==> /cms2/modules/content/pid/1 (Getting rid of that pa=showpage variable). Is this possible? If so, how is it done?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top