0

Hey people,
I am doing a project in web development and I wanted to make a system where users can sign up and login to their profiles and have custom URLs like facebook or twitter (www.mysite.com/UserName).
I dont wanna create a folder for every user on the system cuz that's a stupid thing to do :)

Hope you can help :)
thnx in advance

3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by Olsi009
1

Hey people,
I am doing a project in web development and I wanted to make a system where users can sign up and login to their profiles and have custom URLs like facebook or twitter (www.mysite.com/UserName).
I dont wanna create a folder for every user on the system cuz that's a stupid thing to do :)

Hope you can help :)
thnx in advance

search for the .htaccess
using it you can rewrite your urls after login from www.mysite.com?userId=9 to something like -
www.mysite.com/username

1

Hello,
This is my first post :)

Anyways, the keyword is mod_rewrite if you're using Apache as a webserver and it's enabled, you can search for guides about it..

Hope it helped
Chow..

Edited by Simply T: n/a

0

Hey ppl,
I have searched many many times, but I cant seem to get anything right :'(

Anyone has any code I can implement in my .htaccess file?

Thanks in advance!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.