you can use rewrite parameter in register_post_type
‘rewrite’ => array(‘slug’ => ‘product’,’with_front’ => FALSE) and change the permalink structure to postname.
Related Posts:
- What is the link to my default “archive” page?
- Post formats template
- Same template for all the terms of a taxonomy
- Get link to a specific template file [closed]
- Default ‘post’ post type archive slug?
- Use one template only for custom post type archives?
- What is the best practice to style archive page 2,3,etc differently than archive.php?
- How to use index.php as a template for archives?
- Archive template limiting to 4 entries?
- Force WordPress to NOT display the manual excerpt
- How can I get all archive-URLs to use the same template?
- Archive only for /year/month, not terms
- Is it possible to return a specific tag archive/template as one of the search results?
- Tag Posts showing in wrong places
- Adding Page Attributes Metabox and Page Templates to the Posts Edit Page?
- Is there a way to list all used/unused WP templates?
- Print WordPress template filename(s) for debugging
- Change the name of the ‘Default Template’
- Echoing Elementor page content in template, but it doesn’t get styles and some widgets are missing
- How do I get the URL of a specific size featured image?
- Page is defaulting to archive page and not designated template
- How can I modify the default reset (lost) password email text?
- Template files missing after moving site
- Create Page that uses specific template
- Grid layout “last” class to every third item
- How do you modify Page Template?
- Using “setup_postdata” with “get_template_part” does not work
- How can I get the content of the home page?
- Why aren’t my posts showing?
- How to display error on specific template?
- How to move style from template file to section?
- What is content.php file that is needed for Jetpack infinite scroll plugin?
- Auto-Generate Longtail-SEO Pages/URLs
- ACF image field to WordPress featured image
- bloginfo(‘template_directory’) img src
- Should template files be copied to the child theme for editing?
- Calling an image within the theme folder from inside a post/page?
- Best Constant to use to check if WordPress is running
- WordPress automatically created files like .theme-name / .plugin-name.php [closed]
- How to show the archive / post type description on Single templates
- style sheet header on Page Templates
- Why does the Full-width Template in Twenty Twelve pack so many classes into the body class attribute?
- How to support custom templates on a custom post type?
- How to use $wpdb (from the template) to update the DB, without being an admin
- Query post for ‘selected category’ in archive.php
- Order archive results by post id in custom taxonomy template
- get_file_data to read data for Custom Template File?
- Page attributes missing
- Remove Items from Template Homepage
- Bizarre issue with custom RSS template
- Using shortcode in template file
- Display current category and child
- Return get_header and get_footer string instead of echo it
- Different templates for same content, landing page from different URLs (generic, simple)
- Is there a more efficient way to loop through pages?
- Is it possible to register a new template file?
- What template is used for viewing Media Library Files?
- != and !== both not always working? [closed]
- Remove portion of header code from home page only
- Use a separate template for the home page only
- Create a blank test.php
- How do I remove the word “Blog” from a WordPress Homepage?
- AMP version of front page without plugin
- use a custom page to display search results
- Give wp link pages it’s own template
- How to add description over forum list on bbpress root page
- /wp-admin/post.php shows 404 template on submit
- Help Understanding Template Hierarchy
- Which template.php for /blog
- List Category Posts plugin – underline links [closed]
- Conditional template tag for buddypress pages
- Need help with my template [closed]
- Is there a template tag I can use to link to the archive page corresponding to the month that a post was published on?
- Is it possible to create custom links inside a template?
- WordPress Template Reverts to default template after changing
- using add_filter in a template_redirect function?
- How does post loop integrate individual page elements
- Content not showing properly with the first load of the page
- Where do I edit what the user sees on my WordPress site?
- User role templates
- Using a SendGrid transactional template with wp_mail
- Language file doesn’t work (poeedit)
- How to adjust only the template gallery
- Nested Page Template not showing in page attributes
- Header and footer fail to load with SSL and custom links
- Page 2 has no posts?
- Creating page-templates directory breaks everything!
- Editing the tag pages and using templates
- Problem displaying replies as part of author’s latest comments on author page
- custom template – override plugin template in child theme – issue with scripts
- Is it better practice to create many page templates, or a a few base templates with custom HTML added via TinyMCE?
- Add pagination to blog
- Choose to show or not show title on a template?
- Add multiple pages to theme customizer
- Single Post Template with Dropdown Option?
- Make default template two columns?
- Read more button not working
- pass dynamic value to page to pull in categorised post cards
- templates page not showing on gutenberg editor
- How to load php templates from html page (block theme)