Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: Where can I add the no index code so Search Engines don't list my site?  (Read 3455 times)

0 Members and 1 Guest are viewing this topic.

AppleBag

  • Coppermine newbie
  • Offline Offline
  • Posts: 16

Hi all,

I want to try everything I can to hide a personal gallery from the search engines. I just don't want anyone except people that are personally given the site to know about our personal family gallery (i.e. no strangers).

Can someone tell me which file(s) to edit to add the no index code, (and I'll take any other tips you have to offer as well) :)

thanks!
« Last Edit: May 22, 2008, 03:35:37 pm by Joachim Müller »
Logged

Nibbler

  • Guest

This is not a Coppermine question. See http://www.robotstxt.org/faq/prevent.html
Logged

AppleBag

  • Coppermine newbie
  • Offline Offline
  • Posts: 16

Thanks. I guess I should of been a little more detailed with my question. I was meaning the meta tags for robots. I do not know how the templating system works for coppermine; if there is one header for the entire site, so that adding the meta tags to that alone would be enough, or if I would need to add them to many/multiple pages, etc.

What file(s) would I need to edit to add the meta tags? :)
Logged

Riox

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 55

1. Use .htaccess and make user accounts for your invited guests.
2. Use .htaccess and set a new default index (so no one will find it by chance)
3. Disable registration, make the gallery un-view-able for guests and give the accounts to your guests

 
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

What file(s) would I need to edit to add the meta tags? :)
themes/yourtheme/template.html

1. Use .htaccess and make user accounts for your invited guests.
2. Use .htaccess and set a new default index (so no one will find it by chance)
3. Disable registration, make the gallery un-view-able for guests and give the accounts to your guests
That would be a brute-force method that will shy away legitimate users who are not so computer-savy. The first option (keeping the major search engine spiders from indexing your site in the first place) by editing the robots.txt file is the best solution. No need to edit the meta tags if you disallow indexing in robots.txt, as the spiders of "good" search engines will respect robots.txt and stop indexing at once without even looking at your pages or having to read the meta tags. The "bad" spiders will (like email harvesters) disrespect both robots.txt as well as the meta tags, but they won't lead to your site getting indexed on publicly available search engines anyway, so there is little need for concern. The brute-force method with an alternative .htaccess-based authentification scheme will (as suggested) scare legitimate users away and won't teach your newbie-users how to get access (by contacting you) - they will instead just leave for good. If you're very concerned about privacy, your strategy should be three-fold:
  • Set up robots.txt as suggested
  • Add the nofollow and noindex meta-tags to themes/yourtheme/template.html
  • Set up your gallery to make registration mandatory (in coppermine's config, set "Allow unlogged users (guest or anonymous) access" to "no") and enable registration approval (again: coppermine's config - set "Admin activation of registrations" to "yes"). Search engine spiders will not try to register, and you will be able to tell illegitimate and legitimate users apart and only aknowledge valid user registrations.
    When disallowing anonymous access, both search engines as well as illegitimate visitors won't see actual private content, but your unexperienced legitimate visitors will at least have a nice user interface that will tell them that they need to register.
Logged

AppleBag

  • Coppermine newbie
  • Offline Offline
  • Posts: 16

Great information guys, I will definitely keep the brute force method in mind for other projects I may need to lock down extra tight.

Thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.