CaraDoPastelDaSuaRua Posted March 4 Share Posted March 4 I want to be like this: website.com/user/['userid'] I want to make a page that with the id of the user on the url you can acess the profile:D Quote Link to comment Share on other sites More sharing options...
ginerjm Posted March 5 Share Posted March 5 (edited) Something like: website.com/user?id=xyz ? Although you may have to include the script name before the ? As in website.com/user/index.php?id=xyz Edited March 5 by ginerjm Quote Link to comment Share on other sites More sharing options...
requinix Posted March 5 Share Posted March 5 First create the /user/index.php (or whatever you want to call it) like ginerjm suggested, then use URL rewriting to take a request that looks like /user/X and rewrite it to /user/index.php?id=X. Quote Link to comment Share on other sites More sharing options...
CaraDoPastelDaSuaRua Posted March 20 Author Share Posted March 20 Thx u guys i did thx! Quote Link to comment 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.