Jump to content

robots.txt


Recommended Posts

This is what I use

User-agent: *

Disallow: /

 

User-agent: Googlebot

Allow: /

Disallow: /cgi-bin/

Disallow: /downloads/

Disallow: /images/

Disallow: /includes/

Disallow: /lang/

Disallow: /modules/

Disallow: /pipe/

Disallow: /status/

Disallow: /templates/

Disallow: /templates/*

Disallow: /templates_c/

 

User-agent: Yahoo-slurp

Allow: /

Disallow: /cgi-bin/

Disallow: /downloads/

Disallow: /images/

Disallow: /includes/

Disallow: /lang/

Disallow: /modules/

Disallow: /pipe/

Disallow: /status/

Disallow: /templates/

Disallow: /templates/*

Disallow: /templates_c/

 

User-agent: Msnbot

Allow: /

Disallow: /cgi-bin/

Disallow: /downloads/

Disallow: /images/

Disallow: /includes/

Disallow: /lang/

Disallow: /modules/

Disallow: /pipe/

Disallow: /status/

Disallow: /templates/

Disallow: /templates/*

Disallow: /templates_c/

Link to comment
Share on other sites

Perhaps this might be a silly question, but I am still learning the details around configuring a robots.txt properly.

 

If WHMCS is hosted on a subdirectory such as /support/, then the robots.txt file should still reside in the root direct; however, each item to disallow should be specified in this manner:

 

Disallow: /support/templates/*

Disallow: /support/tempatels_c/

Disallow: /support/pipe/

 

Or, should the robots.txt be placed in the WHMCS directory named /support/?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated