Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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