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 Quote 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? Quote Link to comment https://forums.phpfreaks.com/topic/265167-mod-e-write-help/#findComment-1359052 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.