Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Different permalink styles
Hello,
is it possible to have different permalink styles for different sections?
journal:
/journal/302/something-nice
about:
/about/sitename
some article:
/article/how_you_get_tons_of_underscores
The id number just doesn’t fit in other parts of the website. Sure, it’s nice in dynamic parts like the journal/blog, but for static content I’d rather keep it simple.
Offline
Re: Different permalink styles
Well you could just change to /section/title/ so everything looks the same. You can’t set different formats within TXP. There is this though I have never used it so I couldn’t help with it’s usage. You would need to ask any questions about it within that thread.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Different permalink styles
It’s currently set to /section/title .. but what happens if there is a “short-URL title” (page slug) already excists within that same section?
Offline
Re: Different permalink styles
“page slug”? Did you use WordPress? If you look in the “Advanced Options” on the article editing screen you will see that TXP creates a URL-only title. This is normally identical to the article title but has hyphens instead of spaces. If you create an article with an identical title to an existing one TXP pops a little warning onto the screen but creates the articles and adds a “2” to the URL-only title to differentiate it. It’s that URL-only title that appears in the address bar.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Different permalink styles
Anyone familiar with the unheralded nck_olm plugin?
Offline
Re: Different permalink styles
Nice one Michael. That’s been kept quite. Has it been mentioned in the plug-in forum?
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Different permalink styles
Not that I know of, Stuart. I found out about it via this thread. I have big plans for one of my sites in conjunction with this, though, just as soon as I get some time.
Offline
Re: Different permalink styles
Nice find. I don’t use this sort of stuff but it looks a lot simpler than the other plug-in and I think it might do exactly what kimiko wants. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Pages: 1