Can I do what Twitter and many other sites do where the URL shows the user's page.
www.mysite.com/the_user_name
In php ... or how to do this?
See how to use the mod_rewrite module in .htaccess .
Here are some of the benefits of ALA:
The easiest way is to use it mod_rewritein Apache (as opposed to this in PHP). Here is a good guide for beginners .
mod_rewrite
, , - .htaccess - RewriteEngine.
RewriteEngine On RewriteRule ^(.+) /index.php?user=$1
Google.htaccess RewriteEngine, .htaccess.
Source: https://habr.com/ru/post/1709120/More articles:Как добавить пользователя в AD с помощью System.DirectoryServices.AccountManagement? - c#LINQ objects as business objects - pro / cons - .netКак сохранить изображение в базе данных? - c#Creating an HTTP request in J2ME - javaTrimming Ruby Time Objects Effectively - dateHelp with basic .htaccess mod_rewrite - phpASP.NET User Profile serializeAs Attribute - c #Attributes of a class with a "computed" name - pythonURL routing with database search? - asp.net-mvcIs the following code using std :: set "legal"? - c ++All Articles