#################################################################### # # ROBOTS.TXT OPTIMIZED FOR WORDPRESS # # Disallow: To prevent futur crawling of pages # Noindex: To suppress pages eventually present in index # #################################################################### User-agent : * #################################################################### # URLs with parameter (to prevent content duplication) #################################################################### Disallow: /*? Noindex: /*? #################################################################### # Login page #################################################################### Disallow: /wp-login.php Noindex: /wp-login.php #################################################################### # WordPress core content #################################################################### Disallow: /wp-admin Disallow: /wp-includes Disallow: /wp-content Noindex: /wp-admin Noindex: /wp-includes Noindex: /wp-content #################################################################### # But we authorize indexation of uploaded files #################################################################### Allow: /wp-content/uploads #################################################################### # And we authorize crawling of CSS / JS / FONTS files from includes / # cache / plugins / themes, because if not, Google doesn't see correct pages when # analysing Mobile ergonomy #################################################################### Allow: /wp-includes/*.js* Allow: /wp-includes/*.css* Allow: /wp-includes/*.ttf* Allow: /wp-includes/*.woff* Allow: /wp-content/cache/minify/*.css* Allow: /wp-content/cache/minify/*.js* Allow: /wp-content/cache/minify/*.ttf* Allow: /wp-content/cache/minify/*.woff* Allow: /wp-content/plugins/*.js* Allow: /wp-content/plugins/*.css* Allow: /wp-content/plugins/*.ttf* Allow: /wp-content/plugins/*.woff* Allow: /wp-content/theme/*.css* Allow: /wp-content/theme/*.js* Allow: /wp-content/theme/*.ttf* Allow: /wp-content/theme/*.woff* #################################################################### # Ping / trackback URLs #################################################################### Disallow: */trackback Noindex: */trackback #################################################################### # RSS URLs #################################################################### Disallow: */feed Noindex: */feed #################################################################### # Comments URLs #################################################################### Disallow: /*/comments Noindex: /*/comments #################################################################### # Special folder present on some servers #################################################################### Disallow: /cgi-bin Noindex: /cgi-bin #################################################################### # Files not to be indexed #################################################################### # We authorize crawling of CSS / JS files from cache / themes / # plugins, because if not, Google doesn't see correct pages when # analysing Mobile ergonomy #################################################################### Disallow: /*.php$ Disallow: /*.inc$ Disallow: /*.gz$ Disallow: /*.swf$ Disallow: /*.wmv$ Disallow: /*.cgi$ Disallow: /*.xhtml$ Noindex: /*.php$ Noindex: /*.js$ Noindex: /*.inc$ Noindex: /*.css$ Noindex: /*.gz$ Noindex: /*.swf$ Noindex: /*.wmv$ Noindex: /*.cgi$ Noindex: /*.xhtml$ #################################################################### # Sitemap's address (with Yoast) #################################################################### Sitemap: https://canplast.ch/sitemap_index.xml