• There seems to be a problem with the customizer after I make a change to my website when I try to exit the customizer by clicking on the “X” in the upper left part of the toolbar, I get a white screen with an error message that says,

    Sorry, this page doesn’t exist.
    Please check the URL or go back a page.
    404 Error. Page Not Found.

    The url that the customizer returns to after an update is incorrect. My WordPress installation is in a sub directory which starts out ok before my change, but after I click on “Publish” and click on “X” to exit the customizer, I get the error message above and my url does not include the subdirectory name.

    Before an update, my url looks like this:
    https://MyDomain.com/blog5/wp-admin/customize.php?url=https%3A%2F%2Fclientswebdesigns.com%2Fblog5%2F

    After an update, my url looks like this:
    https://MyDomain.com/wp-admin/

    I also get the following message after the update:
    Sorry, this page doesn’t exist.
    Please check the URL or go back a page.
    404 Error. Page Not Found.

    When this happens, I have to click on the back arrow to get back to the website, but I cannot exit the customizer.

    This error seems to happen intermittently and randomly and I cannot seem to find a reason that this happens. Sometimes everything functions ok, and then when it does happen, it does so repeatedly and it becomes extremely annoying.

    Could you please look into this?

    Thank you.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The query string for your customize.php URL is unusual. It involves ?url=https://whatever. The normal query string is ?return=https://wherever you currently are.

    The unusual query string would be due to your theme or one of your plugins. To find out which, switch to a default Twenty* theme (2021 or earlier, later block themes hide the customizer) and deactivate all plugins. The customizer URL should now include the normal ?return= query string. Restore your usual theme and plugins, one at a time, checking the customizer URL after each. When the ?url= version returns, the last activated is the cause. Take up the issue through that module’s dedicated support channel.

Viewing 1 replies (of 1 total)
  • The topic ‘Exiting from WP Customizer goes to wrong admin directory’ is closed to new replies.