Skip to content

Instantly share code, notes, and snippets.

@edheltzel
Last active June 1, 2016 15:30
Show Gist options
  • Save edheltzel/90de1c7c1ad169f6f273 to your computer and use it in GitHub Desktop.
Save edheltzel/90de1c7c1ad169f6f273 to your computer and use it in GitHub Desktop.
RobotsTXT file for Wordpress
# Rainy Day Media Flux Wordpress RobotsTXT
# we are allowing everything to be indexed based on Yoast - https://yoast.com/wordpress-robots-txt-example/
User-agent: *
Allow: /
User-agent: Mediapartners-Google
Allow: /
User-agent: Adsbot-Google
Allow: /
User-agent: Googlebot-Image
Allow: /
User-agent: Googlebot-Mobile
Allow: /
User-agent: ia_archiver*
Disallow: /
User-agent: duggmirror
Disallow: /
# Disallow these directories, url types & file-types for all BOTS
Disallow: /cgi-bin
Disallow: /wp-content/upgrade/
Disallow: /search/*/feed
Disallow: /search/*/*
Disallow: /readme.html
Disallow: /license.txt
Disallow: /*?*
Disallow: /*?
Disallow: /*.php$
Disallow: /*.js$
Disallow: /*.inc$
Disallow: /*.css$
Disallow: /*.gz$
Disallow: /*.wmv$
Disallow: /*.cgi$
Disallow: /*.xhtml$
@edheltzel
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment