Skip to content

Instantly share code, notes, and snippets.

@exotec
Forked from oliverthiele/robots.txt
Created May 21, 2019 09:34
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 exotec/e87466d4d349d55e0f9ccdb224f60cbe to your computer and use it in GitHub Desktop.
Save exotec/e87466d4d349d55e0f9ccdb224f60cbe to your computer and use it in GitHub Desktop.
robots.txt for TYPO3
User-agent: *
# Only allow URLs generated with RealURL
Disallow: /*?id=*
Disallow: /*&id=*
# L=0 is the default language
Disallow: /*?L=0*
Disallow: /*&L=0*
# typeNum = 98 is usually the print version.
Disallow: /*?type=98*
Disallow: /*&type=98*
# Should always be protected (.htaccess)
Disallow: /*/Private/*
Disallow: /fileadmin/templates/html/*
Disallow: /*/Configuration/*
Disallow: /typo3temp/*
Allow: /typo3temp/*.css$
Allow: /typo3temp/*.css.*.gzip$
Allow: /typo3temp/*.js$
Allow: /typo3temp/*.js.*.gzip$
Allow: /typo3temp/*.jpg$
Allow: /typo3temp/*.gif$
Allow: /typo3temp/*.png$
Disallow: *.sql
Disallow: *.sql.gz
Sitemap: http://www.example.com/index.php?eID=dd_googlesitemap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment