Yoast SEO
Problem with permalinks (1 post)

  1. abhim12
    Posted 3 years ago #

    I am seeing a weird permalink issue that I haven't seen before. I have always had permalink set as /%post_id%/%postname%/ in WP settings. In the WP SEO permalink settings, I have only checked the 2nd and 3rd box (enforce a trailing slash... and redirect attachment URLs.... ).

    Now, I happened to try a site:mysite.com search on Google, and it is only showing the post id in the URL and not the /%postname%/. And the funny thing is that when I click through a result, the corresponding post loads fine and it shows http://www.mysite.com/post-id/ as the URL.... is this normal? I mean, I never knew a post could load just with the id and without the slug. Isn't this creating duplicate content? And why is this happening in the first place, and how to fix it? Please help.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic