WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jondaley
    Member
    Posted 1 year 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.

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

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 1 year 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
    Member
    Posted 8 months ago #

    Hi daniel,

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

  4. jondaley
    Member
    Posted 8 months 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

About this Topic