Viewing 3 replies - 1 through 3 (of 3 total)
  • This “-2” in the URL happens to me too, on some sites, usually when WP detects a duplicate slug for the page. This can happen if a page, post, or even a media file with the same slug (e.g., “singapore”) already exists in your database, including in the Trash.

    What you could do:

    1. Check for duplicates:
      • Go to Pages > All Pages and search for “singapore.” If you find a page with the same slug, delete it permanently (including from the Trash).
      • Repeat the same process in Posts > All Posts and Media > Library to ensure no other content uses the “singapore” slug.
    2. Check categories and tags:
      • Go to Posts > Categories and Posts > Tags to see if there’s a category or tag named “singapore.” If found, either delete it or change its slug.
    3. Permalink reset:
      • After removing duplicates, go to Settings > Permalinks in the WordPress dashboard.
      • Click “Save Changes” (even without making any changes) to refresh the permalink settings (i do it twice, just in case)…
    4. Update the page URL:
      • Edit your page “//talalagirmango.com/export/singapore-2/” and manually update the slug to “singapore” in the?Permalink?section under the page title.
      • Save the changes.
    5. Flush caches:
      • If you’re using a caching plugin or server-side caching, clear the cache to ensure the changes are reflected properly.

    I hope this will work for you; it does for me (almost) all the time…

    • This reply was modified 2 weeks, 6 days ago by Ivica Delic.
    • This reply was modified 2 weeks, 6 days ago by Ivica Delic.
    • This reply was modified 2 weeks, 6 days ago by Ivica Delic.
    Thread Starter Dhaval Vadhiya

    (@dhaval972)

    Hello

    i already check many times, no any duplicate slug or no exist slug (https://talalagirmango.com/export/singapore)

    Please check and fix my page issue, i will share login credentials.

    Thanks

    Sometimes, remnants of deleted pages or posts remain in the database (this happened to me as well a few times, I must admit). Go via your Hosting’s Panel like cPanel, and use phpMyAdmin to check your WP database directly: look in the “wp_posts” table for any entries with the slug “singapore” and delete them manually if they aren’t needed.

    Also, check for Drafts or Revisions, that you don’t have that slug there.

    If these don’t help – try and temporarily deactivate all plugins (especially SEO or permalink-related plugins), and switch to a default WordPress theme (like Twenty Twenty-Three). Then, check if you can edit the slug. If it works, re-enable plugins one by one to find the culprit.

    Good luck!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.