Hi all, I have re-wrote my URLs with the .htaccess to be more user friendly. Currently I have:
If I have a user called "UserName" this URL works how you would think.
But because these pages have variables I seem to have a problem with displaying the links to the user page to the clients. Obviously I can't write a static link as that will only ever link to one user. Currently I use something like this to have a link to a logged in persons own user page from the header of the site:
with my rewrite rule looking like this:
RewriteRule ^user/([^/]*)$ /userinfo.php?user=$1 [L]
So, the problem is the link they press still looks like:
I am wondering how I can make it so it will display a link to click that is rewritten like the first example?