WordPress.org

Ready to get started?Download WordPress

Forums

CPT-onomies: Using Custom Post Types as Taxonomies
[resolved] Custom post type slug not working (4 posts)

  1. gelform
    Member
    Posted 1 year ago #

    I added a custom post type of restaurants. I added a restaurant. I publish it and click "view" and get a 404 page. Is there something I have to do to make http://mydomain.com/restaurants/name-of-restaurant to work?

    Thanks,

    Corey

    http://wordpress.org/extend/plugins/cpt-onomies/

  2. Rachel Carden
    Member
    Plugin Author

    Posted 1 year ago #

    In your admin, go to Settings -> Permalinks and make sure "Post name" is selected. Even if it already selected, make sure you click "Save Changes". This will refresh your rewrite rules. Try to load the restaurant page again.

    Let me know if that didn't do the trick.

  3. gelform
    Member
    Posted 1 year ago #

    Working! Took recreating my database, tho, so I must've screwed something up somewhere :-) Thanks for your help!

  4. Rachel Carden
    Member
    Plugin Author

    Posted 1 year ago #

    No problem! Glad you were able to figure it out!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags