PDA

View Full Version : Mod_Rewrite on member.php


James Birkett
09-19-2009, 07:55 PM
Evening,

I'm trying to get my member URLs to appear as:
http://www.domain.com/member/Username
with Username referring to their Username.

I am using the current code:
RewriteRule ^member/(\w+)/?$ member.php?username=$1

However, it is rewriting everything to /member/

I.e. it's rewriting forum images to www.domain.com/member/images/

Is there any way of rewriting only profile URLs?


EDIT: Just been thinking, would I need to rewrite URLs in member template? :confused: