fix 302 redirection error on https

First, you should not customize anything between # BEGIN WordPress and # END WordPress, it’s just not a good practice. You should add your own rules above WP rules. And you should also make use of some flags, like “L”. # BEGIN Custom <IfModule mod_rewrite.c> Options All -Indexes RewriteEngine On RewriteBase / RewriteCond %{HTTPS} !on … Read more

Non WordPress Folder in a WordPress Site

You can revert to the default WordPress rewrite rules. This line already handles checking for existing physical directories: RewriteCond %{REQUEST_FILENAME} !-d Your problem does not lie with WordPress, but with some other problem with your server/htaccess files. You have not provided enough information to solve your problem, but it probably is an issue with file … Read more

Redirect within wordpress template/plugin

I think you should take a step back and clarify what you are actually trying to do. Usually with WordPress there is no need to throw around with crazy redirects, virtual pages and file includes. Although you can do all these things (mentioning WP_Rewrite). When all you want is passing parameters to a page all … Read more

.htpasswd asking for authentication on home page

Be aware, the AJAX file admin-ajax.php is in the wp-admin directory too. So I guess your site is using AJAX to send requests in the background to the admin directory. Clicking it away lets the AJAX request fail, but the error isn’t displayed. Change the .htaccess to: AuthType Basic AuthName ‘YOUR_AUTH_NAME’ AuthUserFile PATH_TO_HTPASSWORD <Files ‘*’> … Read more