Jump to content

Using a colon with mod_rewrite.


rallokkcaz

Recommended Posts

Is it possible to do something like "mysite.com/user:1". I've tried stuff like:

RewriteEngine on
RewriteRule ^user:([0-9]+)$ profile.php?id=$1 [L]

But it doesn't work, any ideas on what i'm doing wrong, or solutions other than the one i'm doing.

Link to comment
https://forums.phpfreaks.com/topic/150939-using-a-colon-with-mod_rewrite/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.