Admin Backend: Deleting an article fails with invalid URL generated
-
Hello all,
I have a self-hosted WordPress 5.2 installation (in a subfolder) and I have an issue in the admin backend. I am not sure, whether this was introduced with 5.2 – I rarely moved article drafts to the bin so I didn’t recognize it earlier.
(I use a german installation so I am not 100% sure what the buttons are labeled in English but I hope you get the idea)To delete a draft there are two ways:
1) Mouse-hover over the article in the list of articles and then, in the options shown below the title, select “move to bin”
2) mark the checkbox in front of the title, go to the drop-down on top of the list, select “move to bin” and then click “Apply”.The URL when looking at the list of articles says:
https://soltauhome.dyndns.org/Travelblog/wp-admin/edit.phpWhen I Mouse-hover over a draft to delete it – as described in 1) – and then click on “move to bin”, the next URL shown in the address bar is:
https://soltauhome.dyndns.org/?trashed=1&ids=1149So clearly, this URL is missing the subfolder (/Travelblog) and therefore generates a HTTP 403.
If I check the article and use the dropdown – as described in 2) – the resulting URL is:
https://soltauhome.dyndns.org/Travelblog/wp-admin/edit.php?paged=1&ids=1159Which clearly works.
So I am kind of clueless on why the Mouse-hover action generates a broken URL, while the dropdown and button approach works just fine?Could this be related to nginx configuration? or maybe a result of a broken update? A broken entry in one of the database tables?
Any hint would be welcome.
Thank you and kind regards,
MartinThe page I need help with: [log in to see the link]
- The topic ‘Admin Backend: Deleting an article fails with invalid URL generated’ is closed to new replies.