Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Prevent web robots to find a Limesurvey page

  • teksur
  • teksur's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 11 months ago #136638 by teksur
How do I do this?
I know that this (meta name="robots" content="noindex") could be used. Where do I put it?
The topic has been locked.
More
7 years 11 months ago #136642 by Ben_V
startpage.pstpl file of (all) your template(s)

better use content="none" (instead "noindex")

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
  • teksur
  • teksur's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 11 months ago #136643 by teksur
Thanks a lot!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 11 months ago #136648 by DenisChenu
Replied by DenisChenu on topic Prevent web robots to find a Limesurvey page
Or directly add a robots.txt in your limesurvey directory
Code:
User-agent: *
Disallow: /

en.wikipedia.org/wiki/Robots_exclusion_standard

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
7 years 11 months ago #136649 by Ben_V

DenisChenu wrote: Or directly add a robots.txt in your limesurvey directory

Code:
User-agent: *
Disallow: /


Not valid if limesurvey is installed as a folder (robots.txt have to be in root directory)
... but you can place a htaccess file for this folder with the rule:
Code:
Header set X-Robots-Tag "noindex, nofollow"

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 11 months ago #136659 by DenisChenu
Replied by DenisChenu on topic Prevent web robots to find a Limesurvey page

Ben_V wrote:

DenisChenu wrote: Or directly add a robots.txt in your limesurvey directory

Code:
User-agent: *
Disallow: /


Not valid if limesurvey is installed as a folder (robots.txt have to be in root directory)

Then
Code:
User-agent: *
Disallow: /limesurvey/

See wikipedia link ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
7 years 11 months ago - 7 years 11 months ago #136666 by Ben_V

DenisChenu wrote: Then

Code:
User-agent: *
Disallow: /limesurvey/


Of course but in this case you're revealing the path of your LS existing folder and some spam-bots don't care about "Disallow" rule... but it's ok for all major web crawlers

BTW users also interested in related "noarchive" rule may have a look at noarchive.net

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Last edit: 7 years 11 months ago by Ben_V.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 11 months ago #136678 by DenisChenu
Replied by DenisChenu on topic Prevent web robots to find a Limesurvey page
noarchive seems cool.

Think we can do a little plugin to add header on all LS page
Header set X-Robots-Tag "noindex, nofollow, noarchive, notranslate"

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
7 years 11 months ago #136681 by Ben_V

DenisChenu wrote: noarchive seems cool.

Think we can do a little plugin to add header on all LS page
Header set X-Robots-Tag "noindex, nofollow, noarchive, notranslate"


I'm sure it will be warmly appreciated ;)

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose