Hello @mikemp,
Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.
The number is added if there are other URLs with the same slug. Please check your URLs as well if it’s getting duplicated.
If none, then this happens when the Redirect Attachments option is enabled on your site, and you have a media or attachment URL with the same slug.
If that is the case, you can re-upload the media with a different file name or at least rename the attachment URL to a different slug to avoid getting the -2 or -3 in the last part of the URL.
Looking forward to helping you.
Thread Starter
MiKemp
(@mikemp)
Thanks for the reply – I thought I had closed this a few minutes after I submitted it.
This was not a RankMath issue at all.
Hello @mikemp,
You’re welcome! Glad to hear it’s sorted. Let us know if you need any further assistance.