The code in this tutorial enables you to add back the Custom Redirect URL meta box which is included in the inpost SEO Settings. The input field is removed along with the Theme SEO Settings on all Edit Post/Page screens when the Yoast SEO plugin is active.
Genesis includes code which checks for activation of popular SEO plugins and removes the Genesis SEO Settings as well as the Inpost Theme SEO Settings meta boxe when a plugin like Yoast’s is activated.
The solution in this post is based on this question from a member of the StudioPress community forums:
I noticed that when you use the Yoast SEO plugin, the option for Custom Redirect URLs disappears from the Layout Settings. Now that Yoast has taken away that function in their plugin, how do I get that option back in the Layout Settings?
There’s only 2 steps to install the code in any Genesis child theme:
Add the following line of PHP code to your child themes functions file:
include_once( get_stylesheet_directory() . '/redirect-url.php' );
Download the redirect-url.php file below and upload it to your child themes root directory:
Leave a Reply
You must be logged in to post a comment.