The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Permalinks & Slugs (8 posts)

  1. jknetdesign
    Posted 5 years ago #

    My permalinks have -2 or -3 at the end of the link on the live site. I attempted to remove these from the slug and the permalink itself and it just sets itself back to http://leachandwalker.com/contact-info-directions-3/

    How can I remove these unnecessary link extensions?

    I had to upload the same custom templates multiple times until I got them right during production.
    I think t has something to do with this.

  2. I've seen this happen when you have multiple pages with the same (or similar) title ... are there other versions of the "Contact Info & Directions" page?

  3. jknetdesign
    Posted 5 years ago #

    These pages that are live now used to be named Contact Info - New, Referrals - New, Professional Profiles - New, etc.

    Then I trashed all the old pages from the Dashboard like Contact Info, Referrals, Professional Profiles, etc So I replaced the old pages with the new pages.

  4. Did you also empty the "trash"?

  5. jknetdesign
    Posted 5 years ago #

    I just emptied the trash.
    Now the permalink on each dashboard page allows me to remove the '-2' but when I updated and refreshed the web page it came up not found. I added the '-2' back to the permalink and the page came back.


  6. Chip Bennett
    Theme Review Admin
    Posted 5 years ago #

    When you refreshed the web page, was it still showing the "-2" in the URL?

    Try setting the slug however you would like it, and then rather than refreshing the page, click "view Page" from the Edit/Quickedit screen.

  7. jknetdesign
    Posted 5 years ago #

    That worked.
    Thank you.

    Would you mind educating me here.
    What's the difference between the permalink and the slug?

  8. Chip Bennett
    Theme Review Admin
    Posted 5 years ago #

    "Slug" is the text string unique to the Page, and is part of the Page object, i.e. $page->slug.

    "Permalink" is the URL to the rendered version of the Page. If Pretty Permalinks are enabled, then the permalink will use the slug as part of the URL.

    So, if your Page is "About Us":

    "Slug" = about-us
    "Permalink" = http://mydomain.tld/about-us/

Topic Closed

This topic has been closed to new replies.

About this Topic