Support » Fixing WordPress » Dash in Custom post slug causes admin panel and SEO problems

  • I have a custom post type ‘seminars-events’ and it hast a rewrite rule:

    'rewrite' => [
                    'slug' => 'support/seminars-events'

    Then I have related archive and single pages.

    The problem is that when I login as WP admin and go to preview mode of my custom page I don’t see admin panel on the top of the page. Additionally I use SEO-Yoast plugin, I add meta tags but they’re not displayed in page-source preview.

    As soon as I change my slug from dash (-) to underscore (_) both problems are gone. Any ideas what can be wrong here?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.