功用
可設定規則,按照node或taxonomy等的屬性,自動生成有意思的URI。例如http://example.com/article/YYYY-MM-DD/Article-title。
注意事項
- 文章已生成URI並發佈後,請別再改URI。若果再次生成另一個,其他人就不能用舊的URI進入那篇文章。建議出文時,先"Save as unpubished",再檢查生成URI,然後再發佈。
- 在"Configuration > Search and metadata > URL aliases > Settings"裏,請不要選"Transliterate prior to creating alias"。若果選了,所有在URI的中文字會全部轉做國語拼音的英文字,例如"我是香港人"會變成"woshixianggangren"。也建議選"",以免影響到已經生成的URI。
- 文章標題的token是"[node:title]",而不是"[current-page:title]"。"[current-page:*]"以及"[current-date:*]"的token不是給pathauto用。
下載連結
Add new comment