HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


v8 - Links to polls no-index?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#82147 (In Topic #17100)
Avatar

Community saint

Are links to polls no-index in v8? I want to leave polls visible for Guests even though they cannot vote, but they should not be indexed since there is often no context for the poll without seeing the site.

Bob
Back to the top
 
Posted
Rating:
#82155
Avatar

No, you'd need to use robots.txt for that – some sites may want it, so we can't really code in a rule.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#82216
Avatar

Community saint

Okay, but I am a bit confused. I always thought that the Disallow statements were relative to a particular path on disk, not a URL. So, would I create my rule based on the path to php or hrm file in my folder hierarchy?

Thanks for any help.

Bob
Back to the top
 
Posted
Rating:
#82217
Avatar

Google doesn't know anything about your disk, it's definitely URL based.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#82219
Avatar

Community saint

Chris Graham said

Google doesn't know anything about your disk, it's definitely URL based.
Duh!  Thanks, Chris.

Bob
Back to the top
 
Posted
Rating:
#82682
Avatar

Community saint

Chris Graham said

No, you'd need to use robots.txt for that – some sites may want it, so we can't really code in a rule.
I've done as suggested and it brings forward an inconsistency: Google has warned me (not a serious issue) that my sitemap contains items blocked by tobot.txt which is both true and makes little sense.

I am thinking that a future version of ocPortal should allow you to set for all content types, for both categories and entries, whether that item is included in the sitemap. When the sitemap is generated, those items not ticked as included would not be part of the sitemap. This would allow each ocP user to determine what is included in his sitemap in a consistent manner.

0000415: Allow exclusion of contents from sitemap for all content types - ocPortal feature tracker

Bob
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: