Yoast / duplicate-post

Yoast Duplicate Post plugin for WordPress
https://yoast.com
GNU General Public License v2.0
46 stars 36 forks source link

Rewrite And Republish Changing URL and Slug #333

Open Jerm1123 opened 9 months ago

Jerm1123 commented 9 months ago

Please give us a description of what happened

I did the command REWRITE AND REPUBLISH on all pages of my website. A few days later I noticed a number at the end of the page name. For example, this page is supposed to be this url: https://clearcutpestcontrol.com/cockroaches Instead, THIS is what has been created: Screen Shot 2023-11-11 at 8 43 32 PM

Note the number 4 at the end of the url.

To Reproduce

Step-by-step reproduction instructions

  1. Clicked rewrite and republish
  2. Changed the date of the publish to the current date.
  3. Republish

Expected results

  1. The date of the republish to change but the URL to remain the same.

Actual results

  1. A new URL and Slug with a number at the end (for a version) is created. This is what google will be getting.

Screenshots, screen recording, code snippet

If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.

Technical info

Used versions