• I have a WordPress installation (4.9.8) with my own theme installed and everything worked fine. But when I wanted to edit a post today I wasn’t able to do that. When clicking on the edit button i was forwarded to the normal edit url (https://127.0.0.1/page/wp-admin/single.php?post=32&action=edit) but the index page was shown and the editor was not visible.

    Tried it using the default themes and changed the browser, but that hasn’t solved the problem. The inspection tool from GoogleChrome gave the following output:
    Failed to load resource: the server responded with a status of 404 (Not Found) single.php?post=32&action=edit

    Has anyone experienced similar errors or has any help on how to solve this issue?

    Thanks in advance,
    Tim

Viewing 2 replies - 1 through 2 (of 2 total)
  • That is not the normal edit URL. It should be
    /wp-admin/post.php?post=1&action=edit

    Where is the Edit link, and is it generated by your theme?

    Thread Starter Tim Brath?rig

    (@tb1909)

    Thanks a lot for that information! Actually had the idea of what the problem was after I read this. My IDE renamed also other references from post.php to single.php when I changed the file name for this file. That was the problem why I was forwarded to the wrong url.
    Thanks a lot!

    • This reply was modified 6 years, 5 months ago by Tim Brath?rig.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t Edit Posts/Pages’ is closed to new replies.