I needed to create a custom module to show product information. It's a custom module because the data comes from a remote database. This module has a block which I add to a basic page. (It was my first drupal website from some time ago, and I know it's not the conventional method.)
Now in this module I do a $_get call from a product id in the url. For example if the page is /product?id=50, it will get the product of id 50 and show that information in the block. Now at request of the client the url needs to look like /product/50 for SEO reasons. Also true for categories for example categories/boots instead of categories/category=boots
I tried using http access file but I can't get it to work. Also see: Drupal does rewrite url but can't load css/themes
Now they suggested to use Pathauto module. So I've installed the module. But it won't create those url's taking the custom variables into account. Is there a way so I make Pathauto take into account those extra variables needed for my $_get? Or is there a better method?
I've never used this module before, so noob proof advise is appreciated.