Drupal Family History - Aliases, Redirects and Taxonomy
Full listing and details of the aliases, redirects and vocabularies used in the Drupal family history site
Default paths (through pathauto)
Node paths
All node paths have a fairly straightforward path.
Pattern for all Family History Item paths:
familyhistory/item/[title-raw]
Pattern for all Family History Person paths:
familyhistory/people/[title-raw]
Pattern for all Family History Photo paths:
familyhistory/photos/[title-raw]
Taxonomy paths
At first I thought I should put taxonomy paths similar to node paths, for example, /familyhistory/family, /familyhistory/type/, etc. However, I decided to put them under tags. I'm not sure what would happen with people since the person's name is both a node type and a taxonomy term.
Default path pattern
category/[vocab-raw]/[catpath-raw]
Pattern for all fh_content type paths:
familyhistory/tags/type/[catpath-raw]
Pattern for all fh_family paths:
familyhistory/tags/family/[catpath-raw]
Pattern for all fh_free tags paths:
familyhistory/tags/[catpath-raw]
Pattern for all fh_person paths:
familyhistory/tags/people/[catpath-raw]
Pattern for all fh_topic paths:
familyhistory/tags/[catpath-raw]
Taxonomy redirect
fh_person familyhistory/people/!name
What this does is, for a taxonomy term that's a person's name, instead of going to a default taxonomy view, instead go to that person's node page - the page that has the intro at the top and the embedded view below.
Things to keep in mind
In site building, url aliases, there's a tab to delete aliases. Under the automated alias settings, in each section (node, taxonomy, etc), there's a link to regenerate aliases. So if making a change, need to first delete and then regenerate.
=