Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    Usually when WordPress appends the “-2” to a slug, that means you still have the old content by the same name, probably in the trash, draft, etc. If so, try emptying it.

    Thread Starter micasuh

    (@micasuh)

    For any new post, I am not adding a title. The permalink defaults to the Post ID. Thus, there would not be any old post with the same permalink. I also do not have any trash or draft posts, those are clear.

    Moderator t-p

    (@t-p)

    To rule any theme/plugin conflict, try:
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – switching to the unedited default Theme (Twenty Seventeen, etc.) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).
    – If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Thread Starter micasuh

    (@micasuh)

    Nice suggestions, thanks!

    1. I previously deactivated all plugins, same result. On your advice, I deactivated all plugins again, same result.
    2. I switched to Twenty Seventeen and added a saved a new post, same result. phpMyAdmin result here
    3. I did not know about Health Check, that’s great! But I didn’t need to use it this time since I tried the previous two steps
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post without title appends -2 to permalink’ is closed to new replies.