Support » Plugin: Safe Redirect Manager » More than 250 redirections

  • Resolved araoo

    (@araoo)



    Hi there,

    Is it possible to use this plugin for a large number of redirections? I mean almost 1000 … It seems that when we import (with WP CLI) more than 250 redirections some of them doesn’t work… Any help?

    Many thanks in advance

    • This topic was modified 9 months, 3 weeks ago by  araoo.
Viewing 4 replies - 1 through 4 (of 4 total)
  • williampatton

    (@williampatton)

    Hi @araoo,

    Sorry for delay in replying here, are you still looking at this plugin for making your redirects happen?

    There is a limit of 250 redirects placed within the plugin for performance based reasons. You can raise that limit to a higher number with a filter if you choose – but you may start to see some noticeable slowdown on your site when pages are requested because of the overhead of searching 1000+ rows.

    Let me know if I can help you any farther.

    Hi @williampatton,

    Thank you for your answer. I still need your help 🙂 How can I add a filter to overwrite the 250 limit?

    Many thanks in advance.

    @williampatton, I have found the solution 🙂 Thanks for giving me the information.

    For who might have the same pb:
    add_filter( ‘srm_max_redirects’, ‘dbx_srm_max_redirects’ ); function dbx_srm_max_redirects() { return 400; }

    “400” can be replaced by any figure – be careful, website performance could suffer from too many redirections.

    lookingahead

    (@lookingahead)

    @araoo thank you — thank you!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.