How do I change the following client-side URL
domain.com/profile/jung
domain.com/jung (preferable)
to a server-side URL of
domain.com/profile.php?user_id=100
with the username in a php variable?
I know I need to edit my htaccess file with a RewriteCond and RewriteRule but it's still not clear to me...
How does Twitter manage their userpage URLs?