What I have in my URL is https://www.example.com/?id=987456
I can display all the user data fetched from database using the $id = $_GET['id'];
Now I want to remove just the ?id=
so the URL will good.
The required URL will looks like https://www.example.com/987456
NB. I have a lot of other files, folder and subfolders in that same domain so these docs must not affected.
I have to get 987456 value so I can display the user content based on that.
Its better if it can work with .htaccess
I'm using LiteSpeed Web Server with PHP 7.4 version
Just I don't want the user to see this ?id=
How can I achieve this idea.
Please help me?
Thank you for your help in advance.