I migrated my site to a new server. Everything seems to be fine, but the browser is redirected to the frontpage when I save configurations in either the "W3 Total Cache" plugin or in "Duplicate post" plugin. It does save the edits, but it´s annoing with the redirect.
For example when I press purge all caches from W3 Cache, it is redirected to
I can´t find a solution that solves it. I tried with:
In my wp-config.php
And with these google results: Redirecting to home-page when saving any edited code https://wordpress.org/support/topic/wordpress-5-0-beta3-redirects-to-wp-admin-edit-php-after-hitting-enter-key/
I also looked at the wp_options in the DB. But seems allright.
I tried to change the wp permanent link options in the admin settings too.
The "Duplicate post" plugin was installed after the site migration.