Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-10-23 22:40:50
- capa
- Member
- From: Montana, USA
- Registered: 2005-09-10
- Posts: 20
permlink and relative/absolute links
The permlink tag in textpattern generates html such as “http://www.mystite.com/news/46/hed” where my links are located.
Is there a way to make textpattern make relative links for my urls instead? like “news/46/hed”?
It seems odd to put the full “http://blahblah” url in all the links.
“I like the look of my own text.”
Offline
#2 2005-10-23 23:10:51
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: permlink and relative/absolute links
Is there a way to make textpattern make relative links for my urls instead? like “news/46/hed”?
They wouldn’t always work.
If you’re on http://www.mystite.com/news/46/hed, and the browser sees a link to “news/45/something”, it will look for http://www.mystite.com/news/46/news/45/something.
Alex
Offline
#3 2005-10-24 00:46:54
- capa
- Member
- From: Montana, USA
- Registered: 2005-09-10
- Posts: 20
Re: permlink and relative/absolute links
Zem, on the tstate web site, on the opening page, the is a link, for example, that is relative:
a href=”/articles/3981/zem_article_info-documentation” …
How did you do that?
Last edited by capa (2005-10-24 00:48:53)
“I like the look of my own text.”
Offline
Pages: 1