zac1987 Posted March 14, 2011 Share Posted March 14, 2011 I want to convert this url www.2aek.com/userprofile.php?username=zac1987 into www.2aek.com/zac1987 How to do that? I google search "dns setup vanity url" but I can't find any result. After I change it to vanity url, the php get method still can function without any problem? Quote Link to comment https://forums.phpfreaks.com/topic/230581-setup-vanity-url-for-own-domain/ Share on other sites More sharing options...
dreamwest Posted March 14, 2011 Share Posted March 14, 2011 RewriteRule ^$(.*) userprofile.php?username=$1 [L,QSA] Quote Link to comment https://forums.phpfreaks.com/topic/230581-setup-vanity-url-for-own-domain/#findComment-1187306 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.