Change one link

Discuss practical ways rearrange URLs using mod_rewrite.

Change one link

Postby xamrex » Fri Mar 13, 2009 11:41 am

Hello
I have got problem
I need to change this link:

www.mysite.com/modules.php?name=Private_Messages&file=index&sid=d7d51222as
To another

I have something like:

"'(?<!/)modules.php\?name=Private_Messages&amp;file=index&amp;(sid=[a-zA-Z0-9]*)'"

But here is something wrong.
Can someone make me it right??
xamrex
 
Posts: 3
Joined: Mon Mar 02, 2009 11:33 am

Postby richardk » Sat Mar 14, 2009 9:26 am

That isn't mod_rewrite and as far as i can see it should work.
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 20 guests

cron