# BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress # prevent a PHP file from being downloaded by client. Change the PHP module number to the version you are using. AddType application/x-httpd-php .php SetHandler application/x-httpd-php AddType application/x-httpd-php-source .phps DirectoryIndex index.php index.html ################# # SECURITY # ################# # prevents users from browsing wp directories Options -Indexes order allow,deny deny from all # Block WordPress xmlrpc.php requests order deny,allow deny from all allow from 123.123.123.123 # Disallow your page to be embedded within a ,