I want to install a new WordPress in a subdirectory
mydomain.com [default WordPress site], mydomain.com/learn [subdirectory WordPress site]
I've tried using Subdirectory binding and it worked until I entered admin, after I opened the post link a 404 occurred and the URL pointed to mydomain.com instead of mydomain.com/learn.
Please tell me how to set it up, I am using Nginx, Are there any rules for Nginx to work properly?