Modx (my favourite CMS) offers two options for the re-write..
Quote:
The Use Friendly Alias Path (use_alias_path) setting allows the site to display directory structures. If it is set to "No" all of the documents on the site will appear in the URLs as if they are directly off of the root, disregarding the paths. It the setting is set to "Yes" (the default), you will see a full path to the current page in the URLs.
|
I want everything off the root ie..
domain.com/mazda-spare-parts/
domain.com/toyota-spare-parts/
domain.com/toyota-oil-gasket.html
In Modx it checks the URL is unique
I'm not an expert but I imagine this approach is best for SEO and generally looks nicer.