2005-09-04, 10:50 AM
Hi,
I'd like to make the user profiles accessible through mysite.com/member/username.
I already modded member.php so member.php?action=profile&uname=username shows the correct profile. I tried making a rewrite rule:
What would you do?
I'd like to make the user profiles accessible through mysite.com/member/username.
I already modded member.php so member.php?action=profile&uname=username shows the correct profile. I tried making a rewrite rule:
RewriteRule ^member/(.*) http//mysite.com/forums/member.php?action=profile&uname=$1 [NC,L]
It works, but the browser will then look in a wrong directory for images & stuff. I could use the [R] parameter (which redirects the browser), but then the url in the browser will change, and I don't think it's good to link to pages which are signed as moved.What would you do?