Simple rewrite question

New to mod_rewrite? This is a good place to start.

Simple rewrite question

Postby surfinglight » Mon Jun 27, 2005 10:35 pm

Hello,

I need the following task to be accomplished using mod_rewrite:

Assuming that "abc" is user's id,

redirect
http://www.myweb.com/user/abc

into
http://www.myweb.com/user/index.php?userid=abc

What would be the rule to make this work please?

Many thanks in advance.
surfinglight
 
Posts: 1
Joined: Mon Jun 27, 2005 10:31 pm

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 111 guests

cron