• Resolved nortok00

    (@nortok00)


    Plugin version 1.07

    I have used this plugin on a lot of sites without issue but all had less than 200 redirects.

    I then installed it on a site that needed about 500 redirects implemented. I did the first 200 manually and all was fine. Then I realized there was the 301 bulk uploader so started to use that. All seemed fine for the next 200 but what seemed odd is that I couldn’t see the entire list anymore. I don’t know at what number of redirects it stopped displaying. I thought I had missed some so tried uploading them again and that’s when I got the message “redirects already implemented” on the bulk uploader page.

    I then did the last 100 and that’s when everything went haywire. Some of the urls were parsed incorrectly (not sure if this is a separate problem or whether it’s related to some max number of redirects being breached) so I removed these from the list. I then went to the site to test a few of them and realized the homepage of the website was no longer accessible. The minute I disabled the plugin the site was fine again.

    I don’t know at which point it started to beak down. Whether it was after the first 200 or at some point after that.

    Can someone let me know if there is a limit (which is a bug) or whether it might be something else that broke the plugin like a URL it didn’t like. If needed I can provide a list of the URLs that were added.

    I love this plugin because it’s a no fuss redirector and it had the bulk uploader.

    Thanks.

    https://www.ads-software.com/plugins/simple-301-redirects/

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m having a similar issue. I added 2 new redirects (which were for sub-pages of the site), and suddenly I am seeing an error on the home page—The page isn’t redirecting properly. When I deactivate the plugin, the home page works fine again. I’ve looked for a syntax error in the redirects, and the only thing I can think of is that I’ve hit some unnamed limit. Assistance would be appreciated!

    Adam

    (@staticfive)

    Having the same issue… Something seems to be limiting me to *exactly* 500 redirects. wp_options entry shows the following:

    | 6446 | 301_redirects | a:500:{s:24:"/about/mission-statement";s:7:"/about/";...

    until it ends at s:7:"/tester";s:8:"/contact";s:5:"/nice";s:0:"";} | yes |

    This seems suspiciously exact to not be limited by something deliberately, but I can’t seem to find what it is…

    Adam

    (@staticfive)

    In my case, it looks like this was caused by PHP’s new-ish (5.3.9) max_input_vars setting. It’s apparently now 1000 by default, meaning (1000 / (from + to)) = 500 entries. Up this in php.ini with max_input_vars = 2000 or whatever is appropriate for your site.

    Thread Starter nortok00

    (@nortok00)

    Hey Adam. Thanks for this. I will check to see if this resolves my problem (fingers crossed). I will report back after I have tried it.

    It might also be worth checking none of your redirects are causing a redirect loop! We’ve had this issue a few times when bulk importing URLs.

    ??

    Thread Starter nortok00

    (@nortok00)

    Zoee. Thanks for the reply. I checked and I don’t appear to have any redirect loops happening.

    Adam: I tried increasing the php max_input_vars and it didn’t help. What’s interesting is that I tried the uploader on another site. I had to upload about 250 redirects. This uploaded fine with no errors but when I checked the redirect list they weren’t added so I broke the list down into 50 redirects per file. This worked up to 150 redirects (so uploading three separate files). On the next 50 it seemed to work (no errors reported) but they weren’t added to the redirect list. The site didn’t break this time like the other website I tried this with). I tried adding a redirect manually and that worked so it’s not like the whole plugin has failed. It just won’t add the next 50 through the bulk uploader. I increased the max_input_vars but still no love.

    Is the plugin developer looking at these? Is there a log I can look at to see if there are errors even though nothing is showing on screen?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Site breaks. Is there a limit to the number of redirects allowed?’ is closed to new replies.