Good mates,
I tell you the case, I have made the ironing of the content of my website, I have generated some rules to display those files at the same time that I show my website in wordpress.
The rules for each url look like this:
Rewrite ^ / category / url1 / /category/file1/url1/index.php last;
Rewrite ^ / category / url1 / category / file1 / url1 / last;
When I visit the url it is shown as https: // domain / category / url1 /
But if I make the same request without https and without "/" at the end the path is shown: http: //domain/category/url1/index.php
How do I do that if it is accessed by https show the first url and not the second?
Thank you very much for your help!
I tell you the case, I have made the ironing of the content of my website, I have generated some rules to display those files at the same time that I show my website in wordpress.
The rules for each url look like this:
Rewrite ^ / category / url1 / /category/file1/url1/index.php last;
Rewrite ^ / category / url1 / category / file1 / url1 / last;
When I visit the url it is shown as https: // domain / category / url1 /
But if I make the same request without https and without "/" at the end the path is shown: http: //domain/category/url1/index.php
How do I do that if it is accessed by https show the first url and not the second?
Thank you very much for your help!