User-agent: * # Block unnecessary directories and files Disallow: /cgi-bin/ Disallow: /readme.html Disallow: /license.txt # Block WordPress admin but allow AJAX requests Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php # Block user accounts Disallow: /my-account/ # Block direct access to PHP and HTML files for added security Disallow: /*.php$ Disallow: /*.html$ # Define the location of your sitemap Sitemap: https://ofogli.ir/sitemap_index.xml