Programmatic alias

Ki Kim's picture

If nodes are to have a very simple pattern alias and you don't want to pollute alias table with thousands of similar entries, consider implementing hook_url_outbound_alter(). This would work nice if your alias is something like,
- node/1234 => news/1234


Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
To prevent automated spam submissions leave this field empty.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.