I'm a webdev but have zero wordpress experience, and I'm helping a friend.
So I have permalinks to posts in this format:
However for some reason there are also links in this format that return content:
And the latter format returns a page with the same title, a single image, but none of the text. I'm not sure how and why these latter URLs are being created nor how to remove them. I'd like those URLs to redirect to the actual post (eg
https://example.com/some-slug/alternative-categoryA-categoryB-blog-1/ redirecting to
Any idea how I might do this?
Here is a live example: