Create alternative slug (url) for each page, post or custom post type which will redirect to same main page.
A new way to create multiple URLs for the same post. Very useful when creating url for multiple languages. e.g. your main url can be in english but your alternative url can be in your own language. You can share your own language url on social media.
WP Alternative Slug allows you to choose posts, pages and custom post types to have secondary url.
When you access secondary URL, it will bring you to the main article.
Made by 010Pixel
Plugins
> WP Alternative Slug by 010Pixel
. You will be able to see all the custom post types including Post
.For any query, you can contact me at 010 Pixel
/wp-content/plugins/
directory. The final directory tree should look like /wp-content/plugins/010pixel-wp-alternative-slug/010pixel-wp-alternative-slug.php
Plugins
menu in WordPressPlugins
> WP Alternative Slug by 010Pixel
menu and configure the plugin (Type of Posts/Custom Posts where you want to show Alternative Slug input Metabox)/wp-content/plugins/
directory. The final directory tree should look like /wp-content/plugins/010pixel-wp-alternative-slug/010pixel-wp-alternative-slug.php
Plugins
menu in WordPressPlugins
> WP Alternative Slug by 010Pixel
menu and configure the plugin (Type of Posts/Custom Posts where you want to show Alternative Slug input Metabox)Go to Plugins
> WP Alternative Slug by 010Pixel
. You will be able to see all the custom post types including Post
.
Tick the custom post type for which you want to show alternative slug metabox and click Submit
. You are done!
Enable Alternative Slug Metabox by following the method shown above and you will be able to see template list metabox when you create a post.
Just enter the slug which you want to use as alternative slug for a particular post and the post will have that alternative slug attached to it.
Set value for Alternative Slug metabox to empty and save the post.
Please check if multiple pages have same slug used. For now there is not checking for unique slug so the latest article with the slug will be loaded.