Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
How are /category/ links handled?
Hi. I am stuck. There is probably a simple answer to this question, but I am completely stumped.
I have 2x TXP 4.4.1 sites. Both use txp:category1
and txp:category2
(if there is one) to provide category tags on articles. Both sites have hyperlinked categories (via <txp:category2 link="1" title="1" />
). This tag format works on one site, but not the other.
Both the working and non-working sites display hyperlinks to articles with the given category with the URL format:
http://example.com/category/foo
On the working site, it works. On the non-working site, this URL format gives a 404. I figure from the URL format it has something to do with .htaccess doing the rewrites. Both sites have a stock .htaccess, save for a few legacy (unconnected) 301 redirects on the working site.
Neither site’s page template uses txp:if_category
, although the working site does use txp:article
. Would the lack of either of these tags on the non-working site contribute to the 404, or am I misunderstanding something along the line?
Thanks in advance for any pointers.
Last edited by gaekwad (2011-06-22 15:21:52)
Offline
Pages: 1