Safe Redirect Manager
[resolved] Maximum redirects set to 150? (4 posts)

  1. jondaley
    Posted 3 years ago #

    Hi, I just installed this plugin, thinking I would be able to setup redirects due to moving to blogger from wordpress.

    I want to be able to redirect 250 items, but this plugin has a hard-coded limit of 150. Why is that limit in place? Is that due to the size of the database value, or an efficiency standpoint? Maybe I should just edit my .htaccess to hard-code the redirects?

    I was hoping to have a solution that my non-techy users could use.


  2. Daniel Bachhuber
    Hand Built
    Plugin Contributor

    Posted 3 years ago #

    It's limited from the perspective of efficiency, but you can easily filter it to allow 250:

    add_filter( 'srm_max_redirects', 'dbx_srm_max_redirects' );
    function dbx_srm_max_redirects() {
        return 250;

    What type of redirects are you setting up? There might be an easier way of doing this.

  3. jenster81
    Posted 3 years ago #

    Hi daniel,

    sorry to be thick but where do you add that code?

  4. jondaley
    Posted 3 years ago #

    You can add it in your template, probably in functions.php is a good place to add it.

    I ended up switching to "redirect editor", which was easier for us to setup.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Safe Redirect Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic