Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Custom permlinks
Is there an alternative to mic_permlink for generating links with custom URLs?
e.g. <txp:mic_permlink mode="section_category_title">
(I was using mic_permlink with sgb_url_handler; have replaced sgb_url_handler with gbp_permanent_links.)
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
Re: Custom permlinks
Since categories are optional (not mandatory), what kind of href
should this generate for uncategorized articles?
Offline
Re: Custom permlinks
Fine question. I’m not sure how sgb_url_handler and mic_permlink handled it, however they did it flawlessly. I think if /category/ was unavailable it would just default back to /section/; that would be the practical way to handle it.
Last edited by alicson (2017-03-13 09:36:21)
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
Pages: 1