[ad_1]
I have a WordPress site hosted on Azure on a ngnix server. I have a CDN URL set up for it as well. Now the issue is that when I don’t put a trailing slash in the url, it just redirects to the backend url and then exposes the backend url to the user. For example :-
“CDNurl.com/home/“ works fine but if I try to go to “CDNurl.com/home” (without the trailing slash) it redirect to the backend url which is “backendurl.com/home/“
When I check the console I see it’s a 301 redirect issue.
Does anybody know how to solve this?
