Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2008-05-29 10:08:58

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: To link "write title" directly to offsite URL..

wet. you are my hero. thank you so much, works like a charm.

Vote +1 :)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#26 2011-01-23 11:12:59

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,599
Website

Re: To link "write title" directly to offsite URL..

Could you not achieve this with zem_redirect pro?

For example, for a specific page:

<txp:zem_redirect to="/section" from="/section/article-name" /><!DOCTYPE html>...

… and for all pages of a section:

<txp:zem_redirect to="/section" from="/section/(.+)" /><!DOCTYPE html>...

BTW: if my regexp is not ideal, or if zem_redirect has a better built-in wildcard placeholder I don’t know about, I’d be very grateful for a tip.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB