What do you do if in the URL after the name e.g. -2 is inserted, although the page does not exist twice?

If you use real names for the permalinks and create multiple pages with the same page name, a number is automatically inserted after the URL. If this number appears even if there are no other pages with this name, this may be due to an image.
If an image has this particular name, an attachment page is automatically created, which then leads to this problem.

Solution: Simply change the image name, e.g. with Enable Media Replace and then adjust the URL in question.

Without cookies
This website does not use cookies or tracking. More information can be found in the privacy policy.