• Hi,

    The public website works normally: visitors can open every page. Only the admin area (wp-admin) is broken.

    Since about 29 October, every wp-admin screen except my own Profile page redirects to /wp-admin/profile.php. This includes the Dashboard menu items Pages, Posts, Plugins, Settings and the post editor (post.php?post=2&action=edit). Whatever I click in the admin menu, I land back on Profile.

    The browser Network tab shows the server answering, for example, /wp-admin/edit.php with:
    302 Found
    Location: https://[my site]/wp-admin/profile.php
    X-Redirect-By: WordPress
    So the redirect comes from PHP code inside WordPress, not from the browser or a server rule.

    What I have already ruled out:

    • My account is an Administrator, and it is the only user. The full admin menu is visible.
    • Clearing the host cache, logging out and back in, and an incognito window made no difference.
    • I deactivated all 3 plugins (Yoast SEO, WP Mail SMTP, AI Provider for Anthropic) through the REST API, and the redirect stayed. They are active again now.
    • A second site on the same host, with different plugins, started doing exactly the same thing at the same time. Its public website also works normally.

    Setup:

    • WordPress 7.1.4 (auto-updated around 28-29 October, about when this started)
    • Theme: Betheme 28.4.4 (the other site runs Betheme 28.2.1)
    • Host: EasyWP (Namecheap), nginx, Redis object cache (object-cache.php drop-in)

    Because of the redirect, I can’t reach the Plugins, Themes or Updates screens to update anything or switch the theme.

    Has anyone else seen this after 7.1.4? Does anything in core redirect admin screens to profile.php, or is this most likely the theme or the host’s must-use plugin? I’m also asking my host.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator threadi

    (@threadi)

    I would recommend ruling out the theme and the server-side object cache as possible causes first. The information in the header during the redirect simply means that wp_redirect() was used – this can come from the WordPress core, but it can also be executed by any component in your project. In any case, I strongly suspect the Redis cache, since it affects both websites. Your hosting provider’s support team should be able to clarify this.

    I’d agree that the Redis object cache is worth investigating first, particularly since both sites developed the same behaviour at approximately the same time.

    One thing I’d be interested in establishing is whether temporarily disabling the object-cache.php drop-in on one site resolves the redirect. That would help narrow down the cause before making changes to WordPress core or the themes.

    I’d also ask EasyWP whether any shared platform changes occurred around 29 October. The X-Redirect-By: WordPress header confirms that WordPress’s redirect mechanism is being used, but it doesn’t identify which component initiated it.

    Hopefully, testing the object cache and checking with the host will help pinpoint the cause.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.