Change custom post type slug that reflect URL and permalink

Support Forums for LiveMesh Themes & Plugins Forums Invent Theme Support Change custom post type slug that reflect URL and permalink

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by Palmtree palmtree 2 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26384
    Palmtree
    palmtree
    Participant
    Post count: 126

    Hello,

    I would like to change the name of invent theme’s default slug such as “news, department, faculty” to something else like “note, services, shops” because in the URL address section I want to be able to see “note, services and shops” instead.

    I went to framework > presentation > custom-post-types.php to make changes to those values. All the permalinks of those pages displayed in WordPress admin control panel have reflected the changes of the slugs perfectly (and URLs are changed with new slug accordingly) but they are not working.

    For example http://mysite/faculty/abc is by default right? And after the slug “faculty” changed to “shops” now becomes http://mysite/shops/abc however when I actually access the page it outputs “404 Not Found”. The website is still using the old permalik, http://mysite/faculty/abc.

    I have restarted server and browser but it didn’t resolve the situation.
    Are there any way I can reflect the change of permalink 100%?

    I really appreciate your advise.
    Thank you.
    Palmtree

    P.S.
    I am using local server and the site is not in public.

    #26389
    Veena
    Veena
    Moderator
    Post count: 8167

    You will need to visit Settings->Permalinks once for the slug change to take effect.

    #26390
    Palmtree
    palmtree
    Participant
    Post count: 126

    Wow it solved the situation like a charm! Thank you phoenix!!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Change custom post type slug that reflect URL and permalink’ is closed to new replies.