Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-08-23 10:10:44

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 256
Website

Link directly to an article, skipping section landing page

Is possible to link directly to single article when a section link in clicked?
An article list page isn’t always needed.
Does anybody know a solution?
Thanks

Offline

#2 2010-08-23 12:01:49

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: Link directly to an article, skipping section landing page

You could set the article’s status to sticky, and in your template specify that a sticky article be shown.
You might find soo_if_frontpage useful too


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#3 2010-08-24 13:19:27

phuture303
Member
Registered: 2008-09-14
Posts: 127

Re: Link directly to an article, skipping section landing page

You could “hardcode” this into your htaccess-file if you don’t want to work with sticky & live (and don’t wanna change it that often :-)

RedirectMatch ^(.*)/your-section/?$ http://www.example.com/section/article-title [R=301,L]

A link on http://www.example.com/your-section then leads directly to the article without the “section-article-list-landingpage”

Offline

Board footer

Powered by FluxBB