Try using a custom post type (named “products”) and rename your single.php file to single-products.php. It should be much easier like this.
The plugin below (free) should help you create a custom post type without any coding.
Related Posts:
- single-{$post_type}-{slug}.php for custom post types
- Taxonomy, Terms, and Template Files
- Templates for Custom Post Types and Custom Taxonomies
- Custom Post Type with Nested Taxonomy and Template Files
- Clean URL permalink for custom post type
- Custom taxonomy returns 404
- Flush Rewrite Rules when new site is created on network
- Template files for Custom Post Type and Taxonomy
- How to Create Template File for Parent Page of Custom Post Type
- Custom permalink structure for remote content pages
- Setting a homepage – doesn’t seem to work
- One Custom Post Type two different Templates
- Custom post type defaults to index.php for archive page
- Why did permalinks setting affect the pages?
- Storing postID in session variable to query database when visitor on custom template page
- PHP Button Custom link [closed]
- How do I get the permalink of a custom post type?
- WordPress 3.3 custom post type with /%postname%/ permastruct?
- Custom Post type & Taxonomy URL structure
- Combining Multiple Taxonomies in one URL
- Custom Post Type Archives by Date with Custom Permalink
- Why does a custom post type need the ”hierarchical’ args setting?
- How to set a fall back template for a custom post type in a plugin?
- Modify custom post type rewrite rules in a separate function
- Permalink rewrite with custom post type and custom taxonomy
- Permalinks in Custom Post types
- Semantic URL Custom Post Type and Taxonomies permalinks
- Disable WordPress Recognizing Path as Attachment
- Custom post type loops with different page templates
- Multiple templates for a custom post type
- Possible for Category Base and Custom post Type to share the same slug/permalink?
- How much control do we have over CPT rewrite slugs? Can I create a “root” page for my CPT with out the page path, and then have paths for other pages?
- Removing parent slug in hierachial custom post type
- Wrong generated page_name/slug on first publish of custom post type
- Stop / prevent WordPress from updating permalinks of custom post type
- How do I correct an incorrect permalink?
- Update permalinks when new category added to custom post type taxonomy
- Tag Archive for Custom-Post-Type Posts yielding 404 when permalinks set to postname
- Query with no terms uses index.php template instead of archive.php
- Why doesn’t a custom post type permalink ever hit index.php
- WordPress Custom Post Type Children Template
- Allow post/page hierarchy across different post types?
- How can achieve this permalink perfectly? domain.com/%category%/%post-name%
- custom-taxonomy/post_name instead of the default post_type/post_name
- Custom Permalink to remove category word , keeping posts permalink with date?
- Rewrite Rule for showing Parent/Child Relationship between Two Hierarchical Custom Post Types
- Custom Post Type Permalink
- How to include term custom meta into the custom taxonomy term permalink structure
- Setup template_redirect using has_term when NO term assigned
- Custom Post Fields at the beginning of a Custom Permalink
- Custom templates for a specific category
- I’m having trouble getting the permalink sample on my custom post type edit page to work
- Remove custom permalink structure from custom post type without modifying register_post_type() directly
- Custom post type permalink sends to 404.php
- Custom post types with categories in template
- Post will not load via ajax
- Template for custom post type when taxonomy is in the URL
- Combine multiple CPT names to create valid permalinks
- How to add a sub directory to WordPress single posts without affecting other post types?
- assign different templates to custom post type with homepage loop
- Which is the neatest way to have homepage articles and a blog?
- Custom post type draft use wrong template
- Custom rewrite rules for /pastissues/%category%-%postname%.html
- Multiple permalinks for a single post with multiple taxonomies
- Calling a div and content in php?
- Tag template not returning posts [closed]
- Permalink with hierarchy of Custom Post Types
- Rewrite URL for CPT to domain/post-name/post-id
- Custom Endpoint For Specific Custom Post Type
- Custom permalink structure for custom post types including multiple taxonomy
- Custom post type single page returning 404 error when sharing archive url with custom taxonomy
- Custom Post Taxonomy Template Not Loading Properly
- Customise Permalink Structure For Custom Post Types
- Templating advice sub posts of a CTP
- How to make “single post” permalink maintain it’s sub-page structure
- Some permalinks on Apache/localhost development setup return 404’s when set to anything other than plain permalinks
- Page as parent for CPT and other pages
- Two CPT: one is using part of the custom rewrite slug from the other
- Custom permalink with custom taxonomies for custom post type
- Can I organise my custom post types by page?
- I want to create an archive and single page for a custom taxonomy for a custom post type
- Change the url of a custom post type to include taxonomy
- Can I override the permalink/slug on creation
- Multiple custom post type and permalink issue
- custom post type plugin – single template
- Remove sequential number from permalinks
- How to change permalinks to taxonomy and post type’s posts
- Have two (permalinks) urls for a same custom post type
- change precedence of permalink for post_types?
- Redirect permalinks after creating custom post types
- How to make nested custom post type slugs work
- Custom Post Type Permalinks Problem
- Problems with custom post type and hierarchical permalinks
- Posts picking up old Permalinks, how to reset?
- Remove slug from Custom Category Permalink + dual-category permalinks
- WordPress Set A Static Page/Template For All Sub-Pages
- WP_Query is getting the post but the_post() not rendering any Post
- Get permalink in custom post type loop doesn’t work
- What is the best way to relate different custom post types?
- Allow child pages with the same base as the CPT slug