I'm creating a products plugin and I'm fairly new to WordPress so I have hit a roadblock :)
I need to setup a plugin that tells any sub-pages of /products/ to go to the /products/ page with a variable with the sub-page name. The database will then be called which will allow the /products/ page to grab the product info and display it. Meanwhile, the address bar would still display http://www.mysite.com/products/name/
Is this possible? Unfortunately, editing the htaccess file is not possible so it would have to be in plugin form.
How could I go about accomplishing this? I know there are ecommerce plugins out there but I'm looking for something more custom.
Thanks in advance for your help! :)