machinekit / machinekit-docs

Machinekit website
http://www.machinekit.io
16 stars 52 forks source link

Amend docs_contents to exclude from google searches #183

Closed ArcEye closed 8 years ago

ArcEye commented 8 years ago

Now that searches are fully seeded, there are a lot of hits coming from crawlers finding 'boiler plate' sidebar links and including those

eg. Search HAL and the Hal Utilities and GUIs link keeps appearing.

First stage is to wrapper in a 'nocontent' div

Once in place I can change the cse.xml to activate it and eventually the crawlers will exclude it on new crawls.

Signed-off-by: Mick arceye@mgware.co.uk

ArcEye commented 8 years ago

Done the second stage too.

So it is documented somewhere, all that is required to be done is to download the cse.xml file through the Advanced tab of the Custom search engine admin page and change the <CustomSearchEngine> tag to

<CustomSearchEngine id="hpvljajpulu" creator="013132401186084955638" language="en" encoding="UTF-8" enable_suggest="true" enable_nocontent_tag="true">

Then upload the altered file.