Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Messy Structure
I have that same code set up, but I DON’T get a 404 page when looking at /about/company i see the company article
see here: http://simplecandy.com/about/company-info but this content is shown at http://simplecandy.com/about/
Last edited by driz (2008-10-30 15:27:02)
~ Cameron
Offline
Re: Messy Structure
I don’t see the same content. I assume you’ve made changes?
On company-info, all I see is the Hicksdesign quote “design is just making things line up.” At the About page I see actual content.
Offline
Re: Messy Structure
johnstephens wrote:
I don’t see the same content. I assume you’ve made changes?
On company-info, all I see is the Hicksdesign quote “design is just making things line up.” At the About page I see actual content.
I have no idea :S But why are we even seeing the page at all and NOT a 404 like you say?
my about page has this:
<txp:if_individual_article>
<txp:article form="about_article" />
<txp:else/>
<txp:article limit="1" status="sticky" form="about_article" />
</txp:if_individual_article>
and my form is this
<h2>About</h2>
<h3><txp:title /></h3>
<txp:body />
~ Cameron
Offline
#16 2008-10-30 15:52:16
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Messy Structure
driz wrote:
But why are we even seeing the page at all and NOT a 404 like you say?
Because the article does exist, even though it is not displayed. I also have section pages that are only meant to be article lists, and I’m using Kevin’s way, a redirect in .htaccess. I find nothing wrong with that.
Offline
Re: Messy Structure
Okay, I mis-spoke.
I don’t see a 404 page using my template on my own site. I see a page with no article content. But that page isn’t linked from anywhere, so I don’t care— who will ever see it but me?
Offline
Re: Messy Structure
Yeh but it’s still their, and that’s just annoying :)
I think the only REAL solution here is to make all sticky articles excerpts and have them show the full article link, that way you dont get blank pages.
Question though, even though the article is sticky and I have NO comment tags in the form, it is showing the comments box? How do I stop this? Merely saying NO in the article write still shows Comments have been disabled. I want nothing at all. x
Last edited by driz (2008-10-30 16:07:03)
~ Cameron
Offline
#19 2008-10-30 16:21:54
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Messy Structure
In Admin > Preferences, set ‘Automatically append comments to articles’ to ‘no’.
Offline
#20 2008-10-30 18:28:05
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: Messy Structure
maniqui wrote:
Finally, an interesting read: demystifying duplicate content penalty
Thanks for posting that link. It seems they’re well aware of the problem and that the kind of duplication discussed here shouldn’t cause any problems:
This type of non-malicious duplication is fairly common, especially since many CMSs don’t handle this well by default.
and…
When we detect duplicate content, such as through variations caused by URL parameters, we group the duplicate URLs into one cluster.
I have noticed that google does find the links to individual articles easily – even though they’re nowhere linked directly – by simply submitting searches on the site.
Offline
Re: Messy Structure
masa wrote:
I have noticed that google does find the links to individual articles easily – even though they’re nowhere linked directly – by simply submitting searches on the site.
Did you mean that the Google has indexed unlinked individual pages on your sites? Guess that answers my question of who would ever find these pages. Thanks.
Offline
#22 2008-10-30 19:19:18
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: Messy Structure
johnstephens wrote:
Did you mean that the Google has indexed unlinked individual pages on your sites?
Yes, if you offer a search function on your site, google will pick random terms from the page it’s currently spidering and submit these in the search form to reveal what they refer to as deeply-nested content.
Offline
Re: Messy Structure
Google, you rascal!
Is there a tag or plugin that tests for sticky status? Then you could just put in a meta robots tag that says “no-index.” <txp:if_status
won’t work— it refers to http status codes.
Offline
Re: Messy Structure
You shouldn’t have to do all this though, adding robots tags and etc. Txp should have a nicer way of dealing with things!
~ Cameron
Offline