I keep running into issues, and apparently I just don't understand the difference between these two variables. One set of pages works with url_title_path, and the other set will only act right with url_title. There must be some difference I'm missing, but I don't know what it is. any help?
1 Answer
url_title_path requires a template_group/tempate
to be passed to it, so it can return a complete URL. It should be used when creating links. (It seems to be the same as title_permalink, which is what I always use myself.)
e.g., {url_title_path="news/entry"}
returns http://mysite.com/news/entry/hello-world
url_title
is simply a variable which returns an entry's url_title
, e.g., hello_world