WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Maximum redirects set to 150?

[Resolved] Maximum redirects set to 150?

  • 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.

    http://wordpress.org/extend/plugins/safe-redirect-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Daniel Bachhuber
    Participant

    @danielbachhuber

    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.

    jenster81
    Member

    @jenster81

    Hi daniel,

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

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Maximum redirects set to 150?’ is closed to new replies.