Hello, I need to get a link of the form, for example: app.loc / id1 But at the same time I need to read the ID itself using GET, i.e. I look like this: app.loc /? id = 1132132

I read several articles, but I don’t come out to find the right example.

    1 answer 1

    In order to access the app.loc/id12345 , you have started the index file with the GET parameter id=12345 just register in .htaccess

     RewriteEngine On RewriteRule ^id(\d+)$ index.php?id=$1 [L] 
    • Thank you very much, monsieur! - Felix