Last active
February 4, 2020 10:29
-
-
Save deeman/95d0d53c488d9950ac54d4164bc80ffa to your computer and use it in GitHub Desktop.
Custom WordpPress/WooCommerce Robots.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User-agent: * | |
Disallow: /wp-admin/ | |
Disallow: /?s= | |
Disallow: /search/ | |
Allow: /admin/admin-ajax.php | |
Disallow: /cgi-bin/ | |
Disallow: /wp-content/cache/ | |
Disallow: /trackback/ | |
Disallow: */trackback/ | |
#WooCommerce | |
Disallow: /*?product_cat* | |
Disallow: /*?product_tag* | |
Disallow: /*?source_id* | |
Disallow: /*?orderby* | |
Disallow: /*?product_order* | |
Disallow: /*?product_count* | |
Disallow: /*?page_size* | |
Disallow: /?add-to-cart* | |
# MISC Parts | |
# Allways allow CSS, JS. Do not block | |
Allow: /*.css$ | |
Allow: /*.js$ | |
#Sajtkartor | |
Sitemap: https://yourdomain.com/sitemap.xml | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment