Just wondering if there is a way to redirect vistors from a URL that contains member ids to a url that contains the username.
I originally had member pages set up like so... members/profile/{member_id}/
for a range of profile pages. I have since changed this to members/profile/{username}/
and I was wondering if there is a way to redirect a visors to the new URL if they were to attempt to visit a url with a member id still in it.
I tried
{if segment_3 != username}
{redirect="members/profile/{username}/"}
{/if}
and
{if segment_3 == member_id}
{redirect="members/profile/{username}/"}
{/if}
but neither has an effect. (The 'profile' pages are running within Switchee, so I'm not sure if thats having an effect at all?)