• Resolved symonround

    (@symonround)


    Hello,

    I’m experiencing weird issue where on some archive click, I see the url, where I want to go (the clicked one) then in the url bar I see the one on which I currently am, and THEN I am redirected to the one where i initially clicked. So some weird redirecting happens. It also happens on non woo pages like blog/posts. Below are things I’ve tried to solve the issue, none worked…

    • deactivated all plugins, except woo…
    • clean functions
    • clear .htaccess (default)
    • no caching

    Any help would be appreciated, since this issue appears on more websites.

    Thanks a lot

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @symonround,

    Thanks for the details. That does sound annoying. Since you’re seeing this happen on non-Woo pages too (blog, posts, archives), it’s very unlikely to be coming from WooCommerce. WooCommerce doesn’t handle redirects for those pages, so something else higher up in the stack is influencing things.

    A few places I’d take a look at:

    Theme: Some themes add their own canonical redirects or URL “cleanup” logic. A quick test with a default theme (like Twenty Twenty-Four) will tell you right away if that’s the cause.

    Permalinks: Sometimes WordPress gets confused. Go to Settings → Permalinks and just hit “Save” to force the rewrite rules to refresh.

    Site URL mismatch: If this is a staging site (the URL suggests it is), double-check the WordPress Address and Site Address under Settings → General. If they don’t match the domain you’re using, you’ll see little redirect flashes like this.

    Server redirects: Even with a clean .htaccess, your host might be running Nginx rules, Cloudflare redirects, or security rules that trigger in the background. It’s worth checking with them.

    Since you mentioned this happens on several websites, that usually means there’s something common between them, a theme, a server setup, or a plugin that’s been installed across those sites.

    If you can do a quick theme switch test, I’m happy to help narrow it down.

    Thread Starter symonround

    (@symonround)

    Theme: i have tried with other theme and it happenned still so the theme cant be the reason.

    Permalinks: did not help.

    Site URL mismatch: they are the same, first thing i checked.

    Server redirects: I see this maybe as the last option. But not so likely. Some projects have different server setups, and the issue is same, weird.

    Is there maybe something other, that could possible trigger the problem?

    Sai (woo-hc)

    (@saivutukuru)

    Hi @symonround,

    Thanks for the follow-up.

    Since this redirect behaviour occurs on non-WooCommerce pages and even when WooCommerce isn’t influencing the request, this falls outside the scope of what we can troubleshoot as WooCommerce plugin support. WooCommerce itself doesn’t handle redirects for blog posts, archives, or general WordPress navigation.

    However, I can share some guidance to help point you in the right direction:

    • Check for MU-plugins under wp-content/mu-plugins (some hosts add redirect logic there).
    • Look at the browser Network → Headers for the first request to see which component triggers the redirect.
    • Confirm whether your host uses Nginx/Cloudflare/LiteSpeed/Varnish caching or redirect rules.
    • Review wp-config.php for any hardcoded redirects or domain checks.

    For full debugging, your hosting provider would be the best point of contact, since this appears to be redirect logic coming from outside WooCommerce.

    If you find any WooCommerce-specific behaviour or logs related to it, feel free to share, and we’ll be happy to take a look.

    Plugin Support thelmachido a11n

    (@thelmachido)

    It’s been a while since we heard back from you for this reason we are closing this thread. 

    If WooCommerce has been useful for your store and you appreciate the support you’ve received, we’d truly appreciate it if you could leave us a quick review here: 

    https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/#new

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

You must be logged in to reply to this topic.