Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

URL rewriting

Changing and hiding


traffik daddy

11:28 am on Jun 6, 2006 (gmt 0)

10+ Year Member

Hello all,

I have a URL in php that I want to manipulate and I'm struggling to get a grasp of it.


I want to change it so it hides the associate number and makes the URL SEO friendly to look like:


I've tried online mod_rewrite tools and all sorts but just cant get my head around it.

Can anyone please help?

Thank you

[edited by: jdMorgan at 12:57 am (utc) on June 7, 2006]
[edit reason] example.co [/edit]


1:34 am on Jun 7, 2006 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Understand that the link seen by your visitors must be the friendly ones. That means that the friendly URLs must be used on your pages and possibly, on your affiliates' pages. Mod_rewrite can then be used, once one of these friendly URL requests is received by your server, to re-arrange it into the form needed to run your scripts.

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.



Featured Threads

Hot Threads This Week

Hot Threads This Month