• heyzeus

    (@heyzeus)


    My WordPress install (v5.3.2) redirects with a 307 back and forth between:
    `
    {site}/?v=xxxxxxx
    {site}/?v=yyyyyyy
    {site}/?v=xxxxxxx`
    `

    until the memory limit has been hit. It gives an ERR_TOO_MANY_REDIRECTS page and then redirects to the page (except on Safari, which limits redirects to 20). I’ve disabled all plugins, and the .htaccess file is the standard WP:
    `
    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress
    `
    The kicker for me is:

    — If I’m inspecting in the network panel with “cache disabled”, it doesn’t happen.
    — The second time I load a page it doesn’t happen.
    — If I delete any segment of browsing history individually, or any but any one, it doesn’t happen.
    — It only reoccurs when I delete all browsing history.

    My main line of inquiry is “Where does that v parameter come from?”, “Why does it keep changing”? Also, how to stop it from vacillating between two different v params? Thanks!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • phillcoxon

    (@phillcoxon)

    Hi there.

    If you’ve deactivated all plugins and eliminated that as a cause my suggestions would be in order:

    1) Do a full site backup (just in case)
    2) Switch the theme to another theme to see if it’s related to the theme.
    3) Make sure there are no caching files left over from caching plugins (delete or rename advanced-cache.php from /wp-content)
    4) Do a force reinstall of WordPress core to eliminate possible problems in WP Core files
    5) Ensure there is no server side caching with your hosting that could be getting in the way. Talk to your hosting provider about this.

    Good luck. It’s definitely an odd situation.

    Thread Starter heyzeus

    (@heyzeus)

    @phillcoxon
    Thanks, I’ll try those steps now.

    Any idea about the ?v= parameter; where it comes from? where does it go?

    Also, the dashboard (which doesn’t have that problem) says “PHP Update Required” (current version 5.4.45). The site hasn’t always had this problem, however.

    I’ll report back.

    phillcoxon

    (@phillcoxon)

    Hi @heyzeus,

    Sorry for the delay. No idea where the ?v= parameter is coming from. You may need to talk to your hosting provider to get more insight if that parameter remains after testing changing of your theme and deactivating plugins.

    You are running an extremely outdated version of PHP and that may well be related to your issue. PHP 5.4 reached end of life close to 5 years ago.

    https://www.php.net/eol.php

    I would highly recommend moving to a hosting environment that offers at least PHP 7.1 but ideally PHP 7.2 and above. One of the additional benefits is that you’ll see an instant 100% speed increase in your website simply by moving to PHP 7.x which is far better optimized than PHP 5.x.

    Also be aware that if your website is quite old and has any custom code that the code will need to be carefully checked on a PHP 7.x staging site to ensure it is compatible and/or brought up to PHP 7.x standard before relaunching the production site.

    I know that’s quite a lot to drop on you at once but hopefully it’s helpful ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ERR_TOO_MANY_REDIRECTS : v parameter flip-flopping’ is closed to new replies.