Support » Plugin: Yoast SEO » All Share Counters Reset to Zero after Changing Post Slug on Existing Post/Pages

  • Resolved devitor

    (@devitor)


    SOLVED

    This issue is self-resolved, but I’m posting it here, so anyone new to this plugin will not fall into the same trap I did.

    I installed the latest version of Yoast (free) on my site and ran it on two existing posts and one page. Per the SEO recommendations, I changed the post slug. Changing the post slug changes the URL of your post and this action will reset the share counters to zero on all social media. This happened with me. I had shared the affected posts to: Facebook, Twitter, Google+, Pinterest, and StumbleUpon and when I looked at them, they all zeroed out.

    I did research on post slugs, then checked the current URL versus the URL I had shared. Changing the slug changed the URL. When I changed the URL back to the original one, the shares that were applicable to that URL returned.

    While the plugin does have a warning about changing URLs and the necessity to 301 redirect, there is no warning that changing slugs on existing posts changes the URL along with them and you will lose all the shares.

    If you are running this plugin against an existing post or page that has already been shared on any social media, do NOT change either slugs or URLs despite the red warning telling you the long slug is bad for SEO.

    This warning does not apply if you’re working with a new post and you are doing pre-publication SEO on it.

    https://wordpress.org/plugins/wordpress-seo/

  • The topic ‘All Share Counters Reset to Zero after Changing Post Slug on Existing Post/Pages’ is closed to new replies.