Archived topic
URL with digit at the end is not created
3 replies · Started by Data on May 17, 2020
i tried to create "domain.com/parent/child/8" But it is creating "domain.com/parent/child/8-2"
Why it is adding "-2" itself?
Hi there,
I believe that means this is the second time you've created "8".
The theme itself doesn't control the permalink structure:
https://wordpress.org/support/article/settings-permalinks-screen/
I tried with 1,2,3,4,5,6,7,8,9 and even 10, it automatically added "-2" at the end.
Examples
domain.com/parent/child/8-2
domain.com/parent/child/4-2
domain.com/parent/child/10-2
I found a couple of posts for this:
https://optimwise.com/remove-2-wordpress-url-permalink/
https://wordpress.org/support/topic/permalink-keeps-adding-2-to-new-pages/
Maybe check with your hosting support?
Worth checking with WordPress support to see if this is something added by default when using a numeric in URL.
This isn't a theme issue.