Skip to content

Amend docs_contents to exclude from google searches#183

Merged
mhaberler merged 1 commit intomachinekit:masterfrom
ArcEye:master
Jun 25, 2016
Merged

Amend docs_contents to exclude from google searches#183
mhaberler merged 1 commit intomachinekit:masterfrom
ArcEye:master

Conversation

@ArcEye
Copy link
Copy Markdown
Contributor

@ArcEye ArcEye commented Jun 25, 2016

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

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
Copy link
Copy Markdown
Contributor Author

ArcEye commented Jun 25, 2016

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.

@mhaberler mhaberler merged commit 50888df into machinekit:master Jun 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants