Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2019-12-12 17:36:32

etc
Developer
Registered: 2010-11-11
Posts: 3,530
Website

Re: help for a site_url and page_url tag

Myusername wrote #320500:

I need to put the page url in some head tags. Like this one below, for example:

<link rel="canonical" href="…" />

It’s possible that <txp:page_url context /> outputs ‘canonical’ txp URL, please test.

Offline

#12 2019-12-13 15:47:35

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,330
Website

Re: help for a site_url and page_url tag

etc wrote #320502:

It’s possible that <txp:page_url context /> outputs ‘canonical’ txp URL, please test.

Excellent! Thank you Oleg.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

Board footer

Powered by FluxBB