WordPress.org

Ready to get started?Download WordPress

Forums

I have a products page and custom post type - can't access either (2 posts)

  1. matthewordie
    Member
    Posted 1 year ago #

    So I have a page that is /products. I also have a custom post type that would essentially be /products as well. I don't need to access the custom post type via the front end. I will call those posts using some custom queries. However I still can't access my static page.

    I tried setting my custom post types rewrite rules to
    'rewrite' => array( 'slug' => '', 'with_front' => false ),

    but that didn't help. Any ideas?

  2. matthewordie
    Member
    Posted 1 year ago #

    On closer inspection it looks like none of my pages are working. If I change the permalink structure back to default my pages work. If I use postname then it breaks...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.