CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Documentation, Book and Training Resources (Moderator: Michał Mach) »
  • How do we stop the 3.4/4.0 version of the documentation coming 1st in google?
Pages: [1]

Author Topic: How do we stop the 3.4/4.0 version of the documentation coming 1st in google?  (Read 2579 times)

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
How do we stop the 3.4/4.0 version of the documentation coming 1st in google?
August 26, 2012, 10:07:13 am
when you do a google search for example for civicrm hooks  (https://www.google.com/search?q=civicrm+hooks) the 3.4/4.0 version comes top, which is pretty bad/annoying.  Any idea how we can stop this?
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: How do we stop the 3.4/4.0 version of the documentation coming 1st in google?
August 27, 2012, 10:54:03 am
Not sure what the right way to do this is?? Did some googling and it seems like we can stop Google (and other robots) from indexing the older CRMDOC* spaces using a robots.txt file or adding a "no index" meta tag (<meta name="robots" content="noindex">). However, folks may want to find the 4.1 version for instance - so what we really want to do IMO is have the latest wiki space version float to the top of results. I found info on setting a "canonical" URL - but not sure it can apply to a directory:

http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html

Do other folks have more experience / guidance on this?
Protect your investment in CiviCRM by  becoming a Member!

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: How do we stop the 3.4/4.0 version of the documentation coming 1st in google?
August 30, 2012, 06:49:11 am
in case they don't answer here, I've added this to the roadmap to look at at the documentation. i am sure the might civibrains will come up with something...
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: How do we stop the 3.4/4.0 version of the documentation coming 1st in google?
March 13, 2013, 05:13:56 am
Hi,

Between two almost identical pages (eg the 4.1 and 4.2 versions of the hook page), google will choose the one that has the most inbound links. The trick is to get more pages linking to the 4.2 (or 4.3 or whatever the latest version) than the previous ones.

Unfortunately, as now the "main" url for any page contains the version, it means that people links to that page in the forum, and that link will be a link to an obsolete page as soon as a new release arrives (and given lobos' drive, it's going to arrive sooner than later ;).

IMO the solution is to always use the same url for the latest version (so the latest version of the hook is always

http://wiki.civicrm.org/confluence/display/CRM/CiviCRM+hook+specification

This version never becomes read only and is always the working version, and when 4.3 is out, you copy the page to
http://wiki.civicrm.org/confluence/display/CRM42/CiviCRM+hook+specification for archive purpose and set it read only.

And voila. no need to mess up with the rel=canonical or noindex (although it would help), overtime CRM as a name space will get more links than CRM40 CRM41 or the other versions and the freshest content win

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: How do we stop the 3.4/4.0 version of the documentation coming 1st in google?
March 13, 2013, 06:34:55 pm
Seems like we can start using CRMDOC as the "actual" space-key starting when we make CRMDOC43 the 'stable' version. The only downside is that the URL for each version's wiki space is controlled by the spacekey (e.g. CRMDOC42, CRMDOC43) - and you can not change the spacekey. So we would need to copy CRMDOC43 to a new space - CRMDOC (and similar each time we set a new stable version).
Protect your investment in CiviCRM by  becoming a Member!

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: How do we stop the 3.4/4.0 version of the documentation coming 1st in google?
March 14, 2013, 01:31:40 am
The aim is that we copy once to CRMDOC to "fix", and then we copy from CRMDOC to CRMDOC44, CRMDOC45... but keep CRMDOC as the one and only one RW spacekey

Would it work?

Ideally, we should
1) Copy the current "active" CRMDOC43 to CRMDOC
2) delete CRMDOC43

and copy CRMDOC to CRMDOC43 (Read Only) when 4.4 is in alpha or beta

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: How do we stop the 3.4/4.0 version of the documentation coming 1st in google?
March 20, 2013, 03:56:09 am
I can't see any downsides to this. i think we should go for it.

Who does the docspace change at the moment? I think we should have hershel and xavier can help out this time :)
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Documentation, Book and Training Resources (Moderator: Michał Mach) »
  • How do we stop the 3.4/4.0 version of the documentation coming 1st in google?

This forum was archived on 2017-11-26.