Support » Plugin: Peter's Login Redirect » Redirect loop on certain pages

  • Hello,
    I am trying to repair a site that used your plugin to redirect pages at various stages of a payment process. They have since tried to reroute the payments and so I removed the urls from the plugin settings page. Unfortuantely the redirect seems to be stuck and I can no longer access the homepage or the registration page of the site (I get an infinite loop message. )

    I have tried the following:

    • deactivating the plugin
    • refreshing the permalinks
    • clearing and resetting the htaccess
    • defining the home and site url in wp-config
    • deleting the rewrite rules in the options table

    The only two pages affected are the home page and the registration page. I haven’t yet deleted any tales from the database.

Viewing 15 replies - 16 through 30 (of 30 total)
  • I’m like a dog with a bone on this stuff 🙂

    Definitely try deactivating Yoast.

    Wierd Now I’m getting a 500 error.
    After deactivating Yoast.

    I have to admit it is a pretty juicy bone 😉

    It does follow that if the previous configuration did not follow all the subdirectory install steps then someone may have tried to use this plugin to compensate.

    Yoast activaed = 301
    Yoast deactivated = 500

    I’m going to go look in the server log and see if I can find the error.

    I think the compensation had to do with the checkout flow or something. It was definately there as a fix for something that should have been fixed otherwise.

    The errors only affect the homepage and register pages it seems.

    Double-check each htaccess again.


    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /newdirectory/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /newdirectory/index.php [L]
    # END WordPress


    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    Progress. That’s definitely a server issue and not WordPress. Check file permissions.

    104 Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function…

    Not sure what to do about it though.

    Ask your web host tech support.

    Ah, yes I read that yesterday and tried everything and ended up contacting the hosting provider who told me there were lots of errors to fix. -godaddy 😉

    I found this though:
    This is a PHP-FCGI limit error you’re receiving. You’ll need to adjust either the “PHP_FCGI_MAX_REQUESTS” variable inside the “fcgi-bin/php5.fcgi” file for the domain or “FcgidMaxRequestsPerProcess” variable inside the Apache config file.

    Good idea.
    This is out of my league anyway. Thanks a million for your help Chris. I’ll let you know how it all went.

    You’re welcome. Please do.

    Hi Chris, just thought I’d let you know that its fixed. 😀

    The server support was amazingly unhelpful and told me that I shouldn’t be putting the install in a subdirectory. Also that WordPress code is complicated. The 104 error turned out to be a server timed-out sort of thing.

    There are a couple of issues going on with the theme that compounded the problem but there also appears to be some caching done via wp-config (so your idea was a good one.) There is a cache folder in wp_content in addition to a file named advanced-cache.php. So apparently I was wrong when I said there was no cache.

    Anyway many thanks again for your help yesterday.

    That’s good news! Thanks for the update.

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘Redirect loop on certain pages’ is closed to new replies.