Title: Product database
Last modified: August 21, 2016

---

# Product database

 *  [intelligencecompany](https://wordpress.org/support/users/intelligencecompany/)
 * (@intelligencecompany)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/product-database-1/)
 * Hello there,
 * I am going to write a product database for our phone site. We already have our
   tables and the fields. Actually, we just can start entering a product into the
   database. My question is — I really do not have an idea — how can I display them
   publicly?
 * First: I would like the call each product through a slug, not like this: [http://mysite.com/products/id=123456](http://mysite.com/products/id=123456).
   I rather want this: [http://mysite.com/products/nokia-lumia-925](http://mysite.com/products/nokia-lumia-925)
   or [http://mysite.com/products/apple-iphone-5](http://mysite.com/products/apple-iphone-5)
 * So. How do I display them and how can I WordPress tell, that this URL referers
   to product XYZ?
 * These are my questions for the start. Thank you guys!
    intelligencecompany

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/product-database-1/#post-3994832)
 * If each product slug is associated with a post, be it a page post type, custom
   post type, or regular post, WP doesn’t really care what else occurs before the
   slug. The following URLs all will display the same single page:
    mysite.com/nokia-
   lumina-925 mysite.com/products/nokia-lumina-925 mysite.com/automobiles/nokia-
   lumina-925
 * The one restriction is the URL cannot contain content that WP would recognize
   and assign to a query variable, such as /category/ or /2013/. Including such 
   things in the URL will result in a 404 error.

Viewing 1 replies (of 1 total)

The topic ‘Product database’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/product-database-1/#post-3994832)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
