admin管理员组

文章数量:1123794

we have the next issue:

We are working in our DEV environment: www.oursite/blog

But everytime we press the "save settings" button, for example, saving changes inside settings/general it redirects us to the root: www.oursite

The rest of the links work perfectly, it just happens when we save settings.

We have noticed the input button has a wrong url:

<input type="hidden" name="_wp_http_referer" value="/wp-admin/options-reading.php">

We checked other projects with subfolders and it should be:

<input type="hidden" name="_wp_http_referer" value="/blog/wp-admin/options-reading.php">

We already tried disabling al plugins and activating a default wordpress theme but the issue persists.

Thanks.

本文标签: redirectWordpress keeps redirecting to root site after saving any setting