Changed Project Slug – Yoast Sitemap does not update
-
Hello,
I have changed the default project link with this code:
<?php function custom_post_name () { return array( 'feeds' => true, 'slug' => 'location', 'with_front' => false, ); } add_filter( 'et_project_posttype_rewrite_args', 'custom_post_name' ); ?>
When I go to my sitemap in Yoast (https://sellmynote.com/project-sitemap.xml) it still shows the default permalink (https://sellmynote.com/project/sell-my-note-irving/). How can I get it to update to use the new permalink? So I can submit the sitemap to Google and to show the correct permalink (ie. https://sellmynote.com/locations/sell-my-note-irving/) in SERPs?
Thanks
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Changed Project Slug – Yoast Sitemap does not update’ is closed to new replies.