SS Old URLs allows you to add URL redirects through the WP admin for old content URLs.
For example, if your old site had its about page at /about.html, but your new WordPress site uses a nice URL like /about/, you can add the rule /about.html ==> /about/. This will preserve any existing links to the old URL. In addition, we perform our redirects as “301” redirects so you should maintain as much “Google Juice” as possible.
This plugin is especially useful for developers and designers who are porting older websites to WordPress. You can also use it if your move pages around or change URLs/slugs for any reason.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Navigate to Settings –> Old URLs to add your redirect rules.
- My redirect isn’t working? Why is that?
Our redirect code is only fired if no other WordPress page is found for the given URL. For example, if you add the rule /contact-us/ => /contact/, but there is a WordPress page with the slug /contact-us/, that WordPress page will be shown.
- When exactly do you check for redirect rules?
The plugin uses the “status_header” plugin hook to detect when WordPress tries to send a 404 status to the header. (That means it couldn’t find a page or post for the given URL.) We then check against the redirect rules and perform a 301 redirect if a rule is found.
- What if I want to force the redirect?
You can force the redirect by copying the 301 code from the SS Old URLs settings page to your .htaccess file. For example, by pasting this code above the rewrite code for WordPress, you’ll ensure the redirect is performed before WordPress even gets to have a chance to resolve the URL.Redirect 301 /about.php /about/
“SS Old URLs” 是开源软件。 以下人员对此插件做出了贡献。贡献者
- This is the launch version. No changes yet.