How to Increase Redirect Limits in Safe Redirect Manager WordPress Plugin?
The Safe Redirect Manager is one of the very useful Plugins available for WordPress, the Content Management System (CMS) to handle and Manage the Redirects easily. This plugin can also be used to Safely Redirect the broken links to another URL without causing any problem to the main database and the WordPress configuration file which include the
Safe Redirect Manager supports regular redirects, wildcard redirects and the regular expressions. Depending upon your requirement you can opt for either of the option or for all.
The Safe Redirect Manager is also useful in managing the Server Header Response Code, which is very helpful in taking care the Search Engine optimization.
The available server-response in the Safe Redirect Manager are:
- 301 Moved Permanently
- 302 Found
- 303 See Other
- 307 Temporary Redirect
- 403 Forbidden
- 404 Not Found.
By default, The Safe Redirect Manager allows maximum 150 redirects in the old versions of Safe Redirect Manager and in the latest version the developers have increase the maximum limit 250 and after reaching-out the redirects limits it gives following error: The Safe Redirect Manager Error: You have reached the maximum allowable number of redirects.
The only drawback with the Safe Redirect Manager is it does lack option to increase the default redirect limits and there is genuine reason for it as it can slow down your website and the reason the developers of the Safe Redirect Manager has not provided any option to increase or set the redirect limits.
So, what’s solution to deal with the redirect limit in the Safe Redirect Manager? Well, you have to change the Safe Redirect Manager code manually (don’t worry, it’s not a rocket-science).
To increase or bypass the default redirect limits in the Safe Redirect Manager (In the old version):
- Go to in your default plugin directory (usually located at, public_html/wp-contents/plugins/safe-redirect-manager).
- In the “safe-redirect-manager” directory, edit the file
- In the link 57 (approx.) change the value of $default_max_redirects with required value. So, the final line /code will look like this:
public $default_max_redirects = 150; // replace 150 with the numbers of redirects you need
To increase or bypass the default redirect limits in the Safe Redirect Manager (In the New Version):
- Go to in your default plugin directory (usually located at, public_html/wp-contents/plugins/safe-redirect-manager/inc/).
- In the “inc” directory, edit the file
- In the link 21 (approx.) change the value of $default_max_redirects with required value. So, the final line /code will look like this:
$default_max_redirects = apply_filters( 'srm_max_redirects', 250);
This is all you have to do. You may leave your comments with your suggestions, feedback and questions.