Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Breadcrumb URL pattern
Today, for the first time, I noticed that one of the options for URL pattern in preferences->site->Article URL Pattern is ‘breadcrumb’, which indicated articles will be set as ‘/breadcrumb/title’.
I changed a test site, and the resulting pages show ‘/section/title’.
What is it supposed to do?
Offline
Re: Breadcrumb URL pattern
amordecosmos wrote #336475:
… Article URL Pattern is ‘breadcrumb’, which indicated articles will be set as ‘/breadcrumb/title’. … I changed a test site, and the resulting pages show ‘/section/title’. What is it supposed to do?
That could be right if the article has no categories assigned. You should get:
/section/
/section/article (article has no categories)
/section/category-name/article (one category assigned)
/section/category-name/other-category-name/article (two categories assigned)
You can try it out on the demo sites by switching the url scheme and duplicating the demo article with one or no categories.
TXP Builders – finely-crafted code, design and txp
Offline
Re: Breadcrumb URL pattern
Use with caution, the breadcrumb will include the whole path to the article category(ies).
Offline
Re: Breadcrumb URL pattern
Thank you. After all these years, I’m still discovering new cool things about TXP.
Last edited by amordecosmos (2024-01-29 17:25:27)
Offline
#5 2024-01-31 20:55:38
- colin99
- Member
- Registered: 2005-11-15
- Posts: 68
Re: Breadcrumb URL pattern
amordecosmos wrote #336499:
Thank you. After all these years, I’m still discovering new cool things about TXP.
Your USERID caught my attention!
Colin in Victoria B.C.
On the World Wide Web since Day 1 – Editor/Creator – Coffeecrew.com – Coffee.bc.ca
Twitter – Twitter.Com/CoffeeCrew -
Offline
Pages: 1