Plugin Support
Shawn
(@shawnogordo)
This is still not solved. My host wants to know
where to check the script for the authentication login pop-up.
Can you help me with this?
Question: Did you mean I should REPLACE this code in the .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
with this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* – [e=HTTP_AUTHORIZATION:%1]
RewriteBase /
RewriteRule ^index\.php$ – [E=X-HTTP_AUTHORIZATION:%{HTTP:Authorization},QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [E=X-HTTP_AUTHORIZATION:%{HTTP:Authorization},QSA,L]
</IfModule>
OR
Should I just ADD the code to the htacess file?
Hwllo @electroszim,
Please refer to: https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/premium-podcasting-content/premium-podcasting-q/
Give that link to your web host to confirm you can add those lines as listed. Sometimes there are other entries in the .htaccess file that the hosting company or other plugins ad, in that case you need to merge the changes. Whom ever setup your server would be best to ask these questions. Without the “HTTP_AUTHORIZATION” settings though, the Basic Authentication usernames and passwords will never make it to your PHP scripts.
Thanks,
Angelo
Now it finally works for me.
You didnt give me totally correct information.
1. The code you gave me had to be insertetd at the top of the .htacess file. At least before the wordpress default code that was allready there. (Or replace it)
2. When I put the code inside the BEGIN and END marker WordPress automatically changed the file back to what it was before my editing. Therefore I had to put the code outside of the BEGIN and END markers.
This is why I couldnt get it to work for me although I followed all your steps
Hello @electroszim,
I understand your frustration. Unfortunately I could not have predicted your hosting environment required you to enter the rewrite rules twice. I am glad you figured it out, I certainly would not have known to do what you have done to get around the problem. Awesome!
Thanks,
Angelo