1. Registering post type in function.php
  2. Create custom related pages.
  3. Settings->Permalinks [Update]


Let’s start…

  1. Modifie, functions.php (in child theme) to register Custom Post Type
  2. Create custom template files (copy and rename archive.php and single.php as below)
    • single posts of a custom post type will use single-mycompany_product.php
    • and their archives will use archive-mycompany_product.php
  3.  Navigate in WP-Admin menu to:  Settings->Permalinks. Update page, this will rewrite .htaccess


For more check Creating WordPress Custom Post Type | Advanced