gilesbutler
Forum Replies Created
-
Forum: Plugins
In reply to: [a3 Lazy Load] Manually lazy load imagesI just updated and all my manually added images broke ??
Thank you @frances2823 great fix!! ??
Forum: Plugins
In reply to: [Social comments by WpDevArt] Hide FB comments on EDD Product pagesForum: Plugins
In reply to: [Apple Music + Spotify Embed by Mixvisor] Compatible with Adsense?Hi,
Thanks for the feedback.
Yes you are free to use Adsense on your site as well as our plugin, they do not interfere with one another.
And yes, we are affiliated with iTunes.
Forum: Fixing WordPress
In reply to: WordPress SSL & AWS Elastic Beanstalk Redirect LoopWOW! Turns out this isn’t just as simple as adding the above.
The above seemed to work but then Elastic Beanstalk health checks actually end up failing.
I tried adding a dedicated file to the health check but this still failed, it turns out you need to exclude the dedicated health check file and the health checker path for this to work.
Here’s my full
.htaccess
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{REQUEST_URI} !^/status\.html$ RewriteCond %{REQUEST_URI} !^/_hostmanager/ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] </IfModule> # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Remember to change status.html to whatever your health check path is
Forum: Fixing WordPress
In reply to: WordPress SSL & AWS Elastic Beanstalk Redirect LoopThank you!!!!! This just took me about 2 hours to fix and this solution worked!
For anybody else who comes across this, the HTTPS redirect you need in .htaccess is:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
</IfModule>I put this above the # BEGIN WordPress entries and it worked perfectly ??