awebbdesign Posted July 3, 2012 Share Posted July 3, 2012 Well I have tried reading the manual, might as well of been in Japanese. I want to convert the following: pages.php?name=introduction.htm&id=47 into: introduction.htm As you can see the name of the file is in the 1st bit, so I tried: RewriteRule (.*)\ /pages.php?name=$1&id=$2 [L] But it didn't work, if someone can correct the code pattern for it to work I would be most grateful. Andy Link to comment https://forums.phpfreaks.com/topic/265167-mod-e-write-help/ Share on other sites More sharing options...
trq Posted July 4, 2012 Share Posted July 4, 2012 And what exactly do you want to happen with the id parameter? Link to comment https://forums.phpfreaks.com/topic/265167-mod-e-write-help/#findComment-1359052 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.