WP 5.1.1: Clicking “Trash” for a page wrongly redirects to domain root
-
Dear all,
I have installed a fresh copy of WordPress 5.1.1 on NGINX 1.14.0 (Ubuntu 18.04) and PHP7.2.
It seems to run quite well, but some minor issues remain, for which I have not been able to find a solution despite intensive googling.
First issue:
When I am on the pages site, and I click “Trash” for a given page, the page gets deleted successfully but the redirect provided in the response header goes to https://mydomain.com/?trashed=1&ids=37 (for example), whereas the actual WP installation sits on https://mydomain.com/a/wp . Permalinks work correctly and the settings for the WP and Site address are correct.
What could I be missing here?Second issue:
When I am logged in, and click “Preview” for a given page, and then in the preview click “Customize” on the WP admin header, the sidebar for customization shows up as expected. However, when I then click the “X” to close the sidebar, again I get directed to the root of the domain, instead of staying on the page preview or possibly being redirected to the page admin panel.
Again, what could be the cause?Thank you very much for your help and support. I’d be more than happy to provide whatever code or config snippets are necessary.
Best
- The topic ‘WP 5.1.1: Clicking “Trash” for a page wrongly redirects to domain root’ is closed to new replies.