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

  • Resolved 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 1 year, 2 months ago by  araoo.
Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    @araoo thank you — thank you!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘More than 250 redirections’ is closed to new replies.