I'm trying to reserve the path "/plesk-stat/webstat" on Nopcommerce website for Plesk Web Stat, but Nop keeps redirecting me to "/page-not-found". Is there a way to keep Nopcommerce from hogging up the path or to prevent plesk?
When I tried creating a plugin that returns Json { true } when user accesses "/plesk-stat/webstat" so that Nop wouldn't redirect, Nop predictably returned the Json instead of letting Plesk take over. When I manually set the path to return 404 error, Nop redirect to "/page-not-found". When I set it to any other error, Nop returns a return page.
The only other option I could think of is changing web.config or something in startup, but I don't know what I should do.
I do this. on C:\Inetpub\vhosts\{domain.tld}\.plesk\statistics\{domain.tld}\ add a web.config replace {domain.tld} with your domain and put this on the file