: Nginx rewrite for an url with parameters I have two types of URL and want to rewrite it for friendly URL. 1. The first: https://example.com/folder/myfile.php?id=xx¶m1=yy I want to rewrite
I have two types of URL and want to rewrite it for friendly URL.
1. The first:
example.com/folder/myfile.php?id=xx¶m1=yy
I want to rewrite to:
example.com/folder/myfile/xx/yy
2. The second:
example.com/another-folder/myfile.php?id=xx¶m1=yy
I want it rewrite to:
example.com/myfile/xx/yy
Please help me how to do it. I've searched Google but I do not understand the principle rewrite.
More posts by @Murray155
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.