How do i mod rewrite so that i have a page with a get variable is passed to parameter.
I want page.php?id=67/images
to go to images.php?pageId=67
Thanks
How do i mod rewrite so that i have a page with a get variable is passed to parameter.
I want page.php?id=67/images
to go to images.php?pageId=67
Thanks
@dan_code_guru
How do i mod rewrite so that i have a page with a get variable is passed to parameter.
Try this Mod Rewrite Generator:
http://www.generateit.net/mod-rewrite/
If you really want to learn how to write it by hand then read this:
http://www.cyberdesignz.com/blog/website-design/url-rewriting-top-5-ways-of-php-url-rewriting/
LastMitch - thank you for the Mod Rewrite Generator. I have never seen that before and will make my life so much easier - woohoo :)
LastMitch - thank you for the Mod Rewrite Generator. I have never seen that before and will make my life so much easier - woohoo :)
Actually got that Mod Rewrite Generator link from diafol when he helping someone with it. I can't take credit for finding this link but I do used it and like you mention it's very useful!
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.