WordPress.org

Support

Support » How-To and Troubleshooting » I have a products page and custom post type – can't access either

I have a products page and custom post type – can't access either

  • matthewordie
    Participant

    @matthewordie

    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?

Viewing 1 replies (of 1 total)
  • matthewordie
    Participant

    @matthewordie

    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…

Viewing 1 replies (of 1 total)
  • The topic ‘I have a products page and custom post type – can't access either’ is closed to new replies.