Home > Article > Backend Development > javascript-implementation ideas for social networking sites to assign homepages to users
javascriptphpweb
After a user registers, how do you assign a homepage to the user?
How to design the page file? How does the domain name point to the page?
Use
For reference only
1. A user ID will be generated when registering, right;
2. You can use your own domain name to directly follow this ID; for example: the ID returned by your registration is 10000; then you jump to www.coder.com/10000
3. Rewrite your URL on the server. The content corresponding to each ID is determined by yourself