If you’re worried about duplicate content penalties on your website because your posts are available from variety of URLs of different forms, be sure to indicate your canonical URLs in blog posts. Doing so makes it so that the search engines can tell what you deem to be the original/main version of a document to be listed in search results.
This means that you may want to make sure the one selected is the cleanest URL or most straightforward looking link.
SEO plugins typically have an option for setting this.
Mark Canonical URLs with Rank Math plugin
From within the Post/Page:
- Select Options
- Click “Math Rank” plugin. This is where you normally look at what else you may be able to improve on a post.
- Select the wrench icon for “Advanced”
- Fill in the Canonical URL
- Click Publish and confirm the Publish.
This will essentially place a link on your page (in the html ‘under the covers’) that looks like this:
<link rel="canonical" href="https://exampleurl.com/page-slug" />