To install Wordpress at domain's root refresh to /blog !?

Hello everyone !

YunoHost version: 4.2.8.3
Wordpress package version: 5.8~ynh1
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I installed the Wordpress package on “mydomain”
I created a subdomain “shop.mydomain”
I installed a second Wordpress on this new domain
Visit on this blog ends to “shop.mydomain/blog” with a 302, then 301, then 404 (yes, because this “blog” page doesn’t exists at all) - I hot this with the Firefox dev tools

I tried to change the access URL of the application to “shop.mydomaine/toto”, and it works to access to this right.
But with root domain, it redirects to /blog. If I click on some page, I get “shop.mydomain/mypage”, without /blog.

I really don’t understand why it does that, as I didn’t asked for this kind of redirection. I want the root domain!

Logs nginx

192.168.1.3 - - [14/Sep/2021:23:09:49 +0100] “GET / HTTP/1.1” 302 438 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0”
192.168.1.3 - mydomain [14/Sep/2021:23:09:51 +0100] “GET /blog/ HTTP/1.1” 404 47005 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0”
192.168.1.3 - mydomain [14/Sep/2021:23:09:52 +0100] “POST /?wc-ajax=get_refreshed_fragments HTTP/1.1” 200 768 “https://shop.mydomain/blog/” “Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0”

Thank you !

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.