By default, pages on our site look like:
http://www.example.com/items/item-1-name
First, I need them to have ".html' on the end:
http://www.example.com/items/item-1-name.html
Second, I need any reference to ".print.html" (below) to redirect to .html:
http://www.example.com/items/item-1-name.print.html
This seems like an .htaccess thing to me, but a few things prompted me to write this question:
- I don't want to put these in .htaccess (that belongs to Drupal, correct?)
- I didn't have any success putting them inside my vhost file (following this post)
- I'm not sure if there is another recommended way to do this routing in drupal
Update: Here's a bit more info on my specific situation:
- I'm only dealing with a single content type here - all 'items' are nodes of the same type.
- Paths are currently generated via Pathauto
- All 'items' are multi-lingual; pathauto creates urls from the title in each language