There seems little point in creating a new post entry for each of your products if your table of products already has all of the information you wish to display.
Your best bet is to create a single page for example “Product” and then setup your own rewrite rule, using add_rewrite_rule, so that you can setup links such as /product/some-product-alias
. You would then need to perform a query on the product alias to lookup the product information from your product table and then display this on the template (either use page-product.php or create a template and assign this in the admin)
There’s a little more information on setting up the redirects in this answer of mine.
Related Posts:
- How do I write this SQL statement for Posts written in last 24 hours?
- wpdb custom post_type problem
- Adding custom tables to WordPress
- How to import a custom MySQL DB table into a WordPress custom post type
- Custom post type and custom taxonomy key lenght & query performance
- Populate custom post type/custom fields from an external database
- Get custom post_type’s archive URL
- Delete all posts of a custom post type—efficiently
- Custom Post Types 404 Issue
- How to add custom content template part for a custom post type on main query using a plugin
- Custom Post Types, or completely custom?
- Template for specific post of custom post type
- Loading custom page template via plugin
- Templates for Custom Post Types and Custom Taxonomies
- How to use custom database tables for custom post types?
- Apply template to custom post type
- Page is defaulting to archive page and not designated template
- How to quickly switch custom post type singular template?
- Ordering Post 2 Post admin meta box by meta from CPT
- Using Custom Templates for Custom Post Types for the Genesis Theme Framework?
- Custom page type – template under page attributes?
- Display different gutenberg template from selected post attributes
- Custom post type Vs. data in own table
- Single page template for custom post_type
- Trying to manage templates on a blog with lots of custom taxonomies
- Remove header and footer but KEEP all css and js etc for a custom post template?
- How to get current post id of a custom post type in a loop using template singel-{custom type}.php?
- Pagination Issue: Custom Post Type In Index
- Create second custom 404 page for selected post type
- is_page_template not working as expected
- Query to change custom post type with specific category
- Mass convert MySQL data entries into custom post type?
- WordPress post count not showing for custom post type author
- Create Template for Custom Post Type same like for Page
- Insert post metadata for all posts in CPT at once if metadata no existent
- Template for custom post with custom taxonomy
- Custom taxonomy and custom post type – wrong permalinks and template
- Can I override a CPT template on a per post basis with Gutenberg block editor?
- Content vs Template on custom post
- Add update or delete database records using custom post type
- A case for Hierarchical Custom Posts
- Custom taxonomy returns 404
- Template for all categories of a custom post type?
- Flush Rewrite Rules when new site is created on network
- Importing Data from a Non-WordPress database, into WP
- Show data from one Custom Post Type in another Custom Post Type
- Custom post type pages return 404 page?
- Template files for Custom Post Type and Taxonomy
- make permalink go to a custom single.php file
- Creating Sections for Post Types
- Which file/template is in charge of taxonomies for custom post types?
- Custom post type is using the index.php template
- Get template part with CPT and Custom Taxonomy conditionals
- Template code to split a post and print a custom field?
- Displaying a list of Contacts
- How to create a template to show child terms of a MAIN taxonomy
- How to change single custom post template by custom taxonomy?
- WordPress as a frontend website for iOS app [closed]
- Setting a homepage – doesn’t seem to work
- Using custom post types WordPress network
- How to import database table as custom post type and custom fields?
- List of a specific Custom Post Type in Custom Template
- Require custom post type if is_admin() – template doesn’t show up?
- Say I have a tech blog, how best would I store technical specs for a phone, if i use custom post types
- Function to allow single post template based on custom taxonomy?
- Shortcode in pages or tempate files for custom post type
- How can I allow users to edit text that will be displayed on a custom post type archive page?
- Custom Post Type, Custom Taxonomy Template: How to get current taxonomy name?
- custom post types, custom fields and normalization
- Custom post type defaults to index.php for archive page
- Custom post type single page uses the right template in preview mode but shows a different template after being posted
- How do I force a CPT to select a shared custom template in Post Attributes?
- How to replicate data storage and querying using WordPress. Custom posts/fields or Custom db tables?
- Question on templates
- Assign for all post of a post type a specific single-post template
- Taxonomy template file not working with a taxonomy that contains a slash
- taxonomy – templates are not loading
- How can I load Template file from wordpress plugin
- Templates for CPT not working
- Changing an item in drop down after 5 latest posts per taxonomy
- In WordPress do I create tables for my plugin or do I create custom post types for a Student and Classes Registration system?
- Loading a template for a URL pattern
- Show Templates in Custom Post Type Editor
- How to enable the user to add value through the admin panel?
- Custom Homepage As Single Page or Custom Post Type?
- WordPress Custom taxonomy template
- Use one template for different custom post types with the same markup
- Custom page template not being called
- Pulling Content from Existing Database
- How to display custom post types AND regular posts separately on a shared taxonomy archive?
- Querying multiple taxonomies in URL leads to wrong taxonomy archive
- Displaying database table in backend of wordpress
- Custom post type pagination, single page issue
- Multisite – Echo admins profile meta
- Custom template support for custom post type?
- Custom Post Type Template Based on Page Slug?
- custom post types containing a collection of items
- PHP Button Custom link [closed]
- How can I produce multiple webpages with a different output based on one entry/Page/custom Page?
- Remote database access on another wordpress site’s custom post type