Опис
Changed the permalink structure and don’t want to lose your SEO? You’re in the right place!
This plugin will automatically redirect the old ‘%postname%’ permalink structure to the new one as long you keep the same slug in the posts. It works by searching posts by the slug name that comes in the request, so as long as you keep the post slug intact, it should be able to find the post and redirect to whatever new permalink it now is.
Eg.:
Let’s suppose you’re using ‘/%postname%/’ as your permalink structure, but after some time you find out it’s not a good structure (it’s not!) and you change it to ‘/%category%/%postname%/’, the old links will now generate a 404 page, because there’s nothing there anymore.
In this example your site is http://my-cool-domain.com and you have a post with the slug ‘my-cool-post’ under the category ‘news’. With the old ‘/%postname%/’ structure you would access this post with the URL:
http://my-cool-domain.com/my-cool-post/
With the new ‘/%category%/%postname%/’ structure the URL will now be:
http://my-cool-domain.com/news/my-cool-post/
But.. your old http://my-cool-domain.com/my-cool-post/ is now generating a 404.
Well, not anymore, “Postname Permalink Auto Redirect” to the rescue! The plugin will 301 redirect your http://my-cool-domain.com/my-cool-post/ to http://my-cool-domain.com/news/my-cool-post/ automatically. You won’t lose your SEO and you’ll also tell the search engines that your page moved somewhere else.
Notes:
* You should keep the old postname slugs, or the plugin will not be able to find the posts based old links request.
* This plugin supports WPML.
Встановлення
- Upload
postname-permalink-auto-redirectdirectory to/wp-content/plugins/ - Activate the plugin through the ‘Plugins’ menu in WordPress
- Profit $$$
Часті питання
- Installation Instructions
-
- Upload
postname-permalink-auto-redirectdirectory to/wp-content/plugins/ - Activate the plugin through the ‘Plugins’ menu in WordPress
- Profit $$$
- Upload
Відгуки
Учасники та розробники
“Postname Permalink Auto Redirect” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “Postname Permalink Auto Redirect” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
1.1
- Added AMP support
- Fixed a PHP notice when not using WPML plugin
1.0
- First public release.
