hojjat.mi
hojjat.mi

Reputation: 1534

how delete Auto redirect Url in Yoast seo premium

In Yoast seo premium when change post url, old url automatically redirect to new url, where this url saved ? and how i can remove or delete this redirect?

Upvotes: 0

Views: 1667

Answers (2)

You can disable Yoast SEO automatic redirects for post/page/terms changes like adding this codes into your theme's functions.php file :

add_filter('Yoast\WP\SEO\post_redirect_slug_change', '__return_true' );

add_filter('Yoast\WP\SEO\term_redirect_slug_change', '__return_true' );

More information here : https://developer.yoast.com/customization/yoast-seo-premium/disabling-automatic-redirects-notifications/

Upvotes: -1

hhh
hhh

Reputation: 389

There is a specific section of the plugin called Redirect, where you can manage (insert, edit, delete) all the redirects on your website.

Upvotes: 1

Related Questions