How can I rewrite the uri https://www.example.com/user/qr-scan-result/6A210C91-C99D-46DC-8A17-7633CF73AA34 to https://www.example.com/User/QR/qrScanResult.php?qr=6A210C91-C99D-46DC-8A17-7633CF73AA34 in php I have many other urls in the project and I donot want to affect any of the other uri
I tried to follow this link https://github.com/phprouter/main but couldnt complete
` and `/server/index.php?Server=` with `/User/QR/qrScanResult.php?qr=
` - you can make the regex more specific to match the format of your `
` (uppercase A-F, digits and hypen). Note that if you have many other similar rules then the order can be important. If you are still having problems then edit your question to include your complete `.htaccess` file with your attempted code in-place.