RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # BEGIN FRedirect_ErrorDocument # The directives (lines) between "BEGIN FRedirect_ErrorDocument" and "END FRedirect_ErrorDocument" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. ErrorDocument 404 /index.php?error=404 # END FRedirect_ErrorDocument