I am trying to hide page name from url using rewrite rules in php but its not working, please see the below example
My url: https://preshop.me/uppages.php?id=abcd1890dx
i want to show like this url: https://preshop.me/abcd1890dx
i am trying with
RewriteRule ^([^/.]+)/?$ uppages.php?id=$1 [L]
but not working Please help me on this
Thank you
You would use RewriteRule ^([^/.]+)/?$ /uppages.php?id=$1 [L]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.