# User-agent specific directives
User-agent: *
# Disallow directories with sensitive information
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Allow: /?display=wide
Disallow: /wp-content/cache/
Disallow: /wp-content/uploads/wpforms/
Disallow: /wp-content/uploads/wpo-plugins-tables-list.json
Disallow: /wp-includes/
Allow: /wp-includes/js/
Disallow: /wp-content/plugins/
Disallow: /wp-content/themes/
Disallow: /wp-content/uploads/
Disallow: /cgi-bin/
Disallow: /wp-login.php
Disallow: /wp-register.php
Disallow: /xmlrpc.php
Disallow: /readme.html
Disallow: /license.txt
Disallow: /*?s=
Disallow: /*?search=
Disallow: /*?q=
Disallow: /?p=*
Disallow: /?page_id=*
Disallow: /?cat=*
Disallow: /trackback/
Disallow: /feed/
Disallow: /comments/
Disallow: /author/
Disallow: /wp-content/debug.log
Disallow: /wp-content/upgrade/
Disallow: /refer/
# Allow search engines to crawl your sitemaps
https://siwtech.com/page-sitemap.xml
# Allow Google bots to access specific URLs for Search Console verification
User-agent: Googlebot
Allow: _K9ANPXfmKgpZcvlnBRSsuedUIe2b6zgCnd9YVvJM3U Replace with your verification code
# Block known bad bots
User-agent: Bad-Bot
Disallow: Thank you for your business! We look forward to working with you again.