Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2014-11-23 17:46:56

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

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

#4 2014-11-23 18:46:06

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

#6 2014-11-23 20:06:36

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

#7 2014-11-24 08:58:35

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

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

#9 2014-11-24 19:02:58

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

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

#10 2014-11-24 19:06:59

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

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

Board footer

Powered by FluxBB