Forum Moderators: phranque
The user wants to see the profile of a member of a dating site called john by just putting "www.site.com/john"
But it needs to redirect to where john's profile really is, which is "www.site.com/index.php?prof_name=john"
Is there any way, with a mod rewrite or whatever, to redirect the user to the correct URL by, for example, automatically adding "index.php?prof_name=" after every slash and before every username?
Thanks in advance for any suggestions ...
Jim
Reading through this post, I can see how a URL such as
"www.site.com/index.php?prof_name=john"
could redirect to
"www.site.com/john"
but could a mod rewrite actually do this the other way around?
i.e. "www.site.com/john" --> "www.site.com/index.php?prof_name=john"
If so, then problem solved! :o)