Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2017-06-09 17:30:17
- pexman
- Member
- Registered: 2016-02-27
- Posts: 63
custom url
The field custom url in the article-form is a little bit mystery, isn`t it?
I work with a jump mark, which should take the user from the Exzerpt-headline to the full article. In the main-text-field I give the textile an id.
p(#1). here comes text.
To give the headline the anker, you have to put at the < a href-tag a # with the id, here it is 1, so that it in html looks like here:
<a href=“http://domain.de/headline#1”>(Exzerpt)headline</a>
The only possibility, after your change in the settings “cheme of url” to section/title, is to write into the custom url field the headline#1
Controling the link on the site of Exzerpts show the right pronunciation, it shows in the browsers footer http://domain.de/section/title# . If I give this adress to the browser I get my aim. But when I click on this link, it changes to http://domain.de/section/title%231 and dosn`t jump to the mark “1”
How can I solve this?
Offline
Re: custom url
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 2017-06-09 19:48:07
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: custom url
Hallo pexman, ich glaube du suchst sowas hier (sogar auf Deutsch). Das Feld “benutzerdefinierte URL” ist für solche Tricksereien nicht gedacht, falls ich dich richtig verstanden hab, da sollten die Suchmaschinen nicht bei ihrer Arbeit verwirrt werden.
English translation: I think you’re looking for a solution like this one (German page). In case I understood what you’re doing: The field “URL-only title” isn’t meant for such tricks in order to not confuse the search engines.
Edit: Yiannis, you’re lightning.
Last edited by uli (2017-06-09 19:51:00)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#4 2017-06-09 22:16:03
- pexman
- Member
- Registered: 2016-02-27
- Posts: 63
Re: custom url
Vielen Dank Uli, das ist die Lösung
Offline
Pages: 1