homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

URL rewriting
Changing and hiding
traffik daddy

10+ Year Member

Msg#: 6358 posted 11:28 am on Jun 6, 2006 (gmt 0)

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]



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

Msg#: 6358 posted 1:34 am on Jun 7, 2006 (gmt 0)

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.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved