Forum Moderators: phranque
I have a URL in php that I want to manipulate and I'm struggling to get a grasp of it.
http://www.example.co.uk/mypage.php?asn=0000&qry=my+search+term+here
I want to change it so it hides the associate number and makes the URL SEO friendly to look like:
http://www.example.co.uk/mypage/my-search-term-here.html
I've tried online mod_rewrite tools and all sorts but just cant get my head around it.
Can anyone please help?
Thank you
TD
[edited by: jdMorgan at 12:57 am (utc) on June 7, 2006]
[edit reason] example.co [/edit]
However, I used the term 're-arranged' advisedly, since information cannot be added. And what that means is that in this scenario, you'd have to delete the affiliate IDs from your pages, and ask them to delete them from ther pages, and once deleted, mod_rewrite could certainly not recover them. As such, mod_rewrite offers no solution to this problem.
This thread [webmasterworld.com], while not addressing your specific problem, describes the step-by-step process of URL rewriting and what it means.
Jim