Skip to content

Instantly share code, notes, and snippets.

@cazuki
Created July 29, 2015 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cazuki/765eb08959fafcad3058 to your computer and use it in GitHub Desktop.
Save cazuki/765eb08959fafcad3058 to your computer and use it in GitHub Desktop.
モバデビのrobots.txtファイルの記述内容です。
User-agent: *
Disallow: /wp-admin
Disallow: /wp-includes
Allow: /wp-content/uploads
Allow: /wp-includes/js
Disallow: /*?*
Disallow: /*?
Disallow: /*.php$
Disallow: /*.js$
Disallow: /*.inc$
Disallow: /*.css$
Disallow: */feed/
Disallow: */trackback/
# allow Googlebot to css/js
User-agent: Googlebot
Allow: /*.js$
Allow: /*.css$
# allow google image bot to search all images
User-agent: Googlebot-Image
Disallow: /wp-includes/
Allow: /wp-content/uploads/
Allow: /wp-content/uploads-*
# allow Google adsense bot on entire site
User-agent: Mediapartners-Google*
Allow: /*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment