WP-SEO-Redirect-301 is a WordPress plugin that remembers your old urls and redirects users to the updated url, to prevent 404s when urls change
If you click on «SEO Redirect 301» menu link, you will see a list of old urls pointing to the new ones. Its here where you can delete ones you don’t want anymore.
Since version 1.9, you now get a sitemap that you can submit to google and bing. After installing the plugin, you can submit http://yoursite/301-sitemap.xml to google or bing.
Since version 1.8.0, you can now create custom urls in your admin post/page edit page. Login to your wordpress site, go to any post/page and scroll down. You should find a Meta Box called SEO Redirect 301s. If you submit a url here and then browse to this url, it will redirect you to the page/post your editing.
If you wish to manually submit a alias slug, make sure that you are using the Code Editor, not the Visual Editor. Edit the page or post, click on its 3 dots icon and click on Code Editor. Scroll down page until you see SEO Redirect 301s. Its here where you can manually enter in an alias slug.
Built by The Marketing Mix Perth: http://www.marketingmix.com.au
1) Install WordPress 5.8.1 or higher
2) Download the latest from:
3) Login to WordPress admin, click on Plugins / Add New / Upload, then upload the zip file you just downloaded.
4) Activate the plugin.
Thats it, you don’t need to worry, update your page urls and this plugin will redirect your users to the updated url.
Built by The Marketing Mix Perth: https://www.marketingmix.com.au
Contributors & Developers
“WP SEO Redirect 301” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Added CSRF protection when deleting redirect.
- Removed redundant email library.
- Improved domains with custom port in domain like www.example.com:8080. Added improvement when adding alias slug to page or post.
- Fix issue with debug=true.
- Bug fix for DISABLE_301_SITEMAP, if job is still running, this still executes. Now this is fixed.
- Fixed issue with https urls.
- You can now add define(‘DISABLE_301_SITEMAP’, ‘true’); to wp-config.php to disable the 301-sitemap.xml file.
- Improved code found by WordPress.
- Fixed vulnerability with delete function found by WordPress.
- Fixed bug with query string urls.
- Fixed bug with search results page.
- Sometimes the new url does not exist, especially if it was deleted. So to account for this, send user to home page.
- Retain query string from old url.
- Don’t re redirect to same url even if at some point it had changed. This to prevent endless redirects.
- Changed so it only works for posts and pages.
- If page is the front page, don’t bother checking to see if its a 404.
- Updated 404 detection code.
- Tom M8te was blocked by WordPress as they no longer accept framework plugins. So I’ve had to drastically change the plugin to work.
- Noticed an issue where url has a query string. The fix is to remove query strings from the urls.
- Able to generate sitemap that you can submit to google or bing.
- Increased compatibility across multiple themes.
- I think I may have fixed template conflictions once and for all. I’ve placed the redirect on the shutdown event which is the last wordpress event that executes. I think before it tried to redirect before all other code could execute, breaking most templates. Now that this executes on the last event, I think it should create less template issues.
- Allows you to create custom urls to redirect to a page.
- I noticed that SEO Redirect 301 didn’t want to play nice with some paid themes. I’ve come up with a solution to SmartStart and the fix could potentially fix other themes that work closely with WordPress Theme code.
- Fixed small bug with dependency checker.
- Better dependency installer. Fixed issue with empty redirect table.
- Added more Tom M8te functions to make it easier to manage.
- After looking at logs, I found duplicate entry errors, which didn’t create them, just warned about them. This patch removes the chance of the warning.
- Small bug fix, happens rarely. If the database is corrupt and post id didn’t exist it produced an error. This patch fixes it.
- Fixed bug with redirect. Sometimes the system redirects to an attachment, not a page or post, which makes no sense. Anyways I put a guard on it so if it tries to redirect to the attachment, it redirects to the page instead.
- Fixed bug with https urls.
- Dependent on plugin Tom M8te to make some features easier to code. There is no new features since 1.5.
- Fixed redirect posts to correct urls. Fixed delete redirects which did delete but didn’t refresh changes at correct time.
- Fixed some typos, whoops.
- Better description on table when you haven’t yet changed your urls.
- UI to show user which old urls are pointing to the new updated urls.
- Fixed up updating children urls. So now if parent slug name changes, the child slugs are updated as well. For example, lets say you have a page called http://localhost/cars with a child page http://localhost/cars/holden, if you change the slug name to car and you navigated to http://localhost/cars it will redirect you to http://localhost/car. Similarly if you navigated to http://localhost/cars/holden it will redirect you to http://localhost/car/holden.
- Initial Checkin