Plesk Web Stats on Nopcommerce

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 3 años
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.
Hace 2 años
I have the same issue.
Does somebody have a clue how to resolve this or at least an idea?

Rodolfo
Hace 2 años
Try looking at solutions from
https://www.google.com/search?q=%2Fplesk-stat%2Fwebstat+from+asp.net
Hace 2 años
Thanks very much.

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

<configuration>
    <system.webServer>
        <handlers>
            <remove name="aspNetCore" />
        </handlers>
    </system.webServer>
</configuration>

source: https://stackoverflow.com/questions/50392225/net-core-2-0-app-blocks-plesk-webstat
(I have NopComerce 4.3 with  net core 3.1 and is work fine)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.