Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2014-11-23 17:22:36
- pierlu
- Member
- Registered: 2014-08-12
- Posts: 153
link to another page
How can I do to create a link to a page that points to another page?
thanks
Offline
Re: link to another page
Hi pierlu
It depends where you want your link. If it is in an article you can use textile.
"link name":/your/page
will produce <a href="/your/page">link name</a>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2014-11-23 18:35:25
- pierlu
- Member
- Registered: 2014-08-12
- Posts: 153
Re: link to another page
I wrote it but it does not work
<h3><a href="1°el"> Classe 1°elementare </a> </h3>
Offline
Re: link to another page
Define “does not work”. Do you get an error? Do you end up in the wrong place when clicking the link? Is the link not clickable?
Offline
#5 2014-11-23 18:57:46
- pierlu
- Member
- Registered: 2014-08-12
- Posts: 153
Re: link to another page
The link is clickable. When you click is a page where it is written:“Not Found
The requested URL /castelnuovo/1°el was not found on this server.”
Offline
Re: link to another page
What is “1°el”? Is that a category name, a section name?
Does it really need the “°” character in it? Perhaps that is causing the problem.
Offline
Re: link to another page
Hi pierlu – does your site have a .htaccess
file in the same directory as index.php
?
Offline
#8 2014-11-24 18:59:22
- pierlu
- Member
- Registered: 2014-08-12
- Posts: 153
Re: link to another page
1EL is a section
Offline
Re: link to another page
pierlu wrote #286019:
The requested URL /castelnuovo/1°el was not found on this server.”
There’s a character encoding problem. The section is called 1°el
and the link is going to 1°el
instead.
pierlu: my recommendation builds on ruud’s reply – try changing the name from 1°el
to 1el
if you have not already done that. Then, try this code:
<h3><a href="1el"> Classe 1°elementare </a> </h3>
Offline
Re: link to another page
Shouldn’t that be <h3><a href="/1el/"> Classe 1°elementare </a> </h3>
?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1