I’m new at Drupal. a question;
I create a hotels directory site. I created Taxonomy>Vocabulary for locations like London, Liverpool, etc… For example the url below lists the London
localhost/drupal/taxonomy/term/1
how can change that url to something like
localhost/drupal/hotels/london
is it possible? appreciate advices so much!!
Enable the
pathmodule in Drupal core, and download and enable thepathautomodule from the Drupal modules website. You can use pathauto to set rules over how you wish to rewrite the paths of your taxonomy pages, and you can certainly do something like this.I am guessing that to achieve the URL alias you are suggesting, the rewrite rules would look something like:
[vocab-raw]/[cat-raw]Assuming that your vocabulary is called Hotels, and the term is called London.