Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Upgrade causes Firefox to blink non-css before final render
Found the issue, which was something I overlooked in my .htaccess file. Sigh.
Last edited by skewray (2017-06-11 21:30:38)
Offline
Re: Upgrade causes Firefox to blink non-css before final render
skewray wrote #305916:
Found the issue, which was something I overlooked in my .htaccess file. Sigh.
Out of curiosity, and for the benefit of everybody’s general knowledge, care to tell us the details?
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: Upgrade causes Firefox to blink non-css before final render
Sure. I had the standard snippet that can be found anywhere on the web for re-mapping www:
RewriteCond %{HTTP_HOST} ^skewray.com$ [NC}
RewriteRule ^(.*)$ http://www.skewray.com/$1 [L,R=301]
I was pretty certain that I had done an grep for ‘http’, but I guess not. I have no idea how to write that snippet to be http/https agnostic, so I just made it https.
Last edited by skewray (2017-06-12 13:48:02)
Offline
Re: Upgrade causes Firefox to blink non-css before final render
I use this generic one
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Upgrade causes Firefox to blink non-css before final render
skewray wrote #305918:
I was pretty certain that I had done an grep for ‘http’, but I guess not. I have no idea how to write that snippet to be http/https agnostic, so I just make it https.
Thanks for the feedback. Yeah, I suspected something along those lines.
so I just make it https
Unless you have a large site with content going back many years (internal links or image references that are hardcoded with http://), I wouldn’t worry and send all over https://.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: Upgrade causes Firefox to blink non-css before final render
colak wrote #305919:
I use this generic one
RewriteCond %{HTTP_HOST} !^$...
Thanks for the improved version. When it comes to the .htaccess file, I am no better than a well-trained monkey.
Offline
Re: Upgrade causes Firefox to blink non-css before final render
skewray wrote #305932:
Thanks for the improved version. When it comes to the .htaccess file, I am no better than a well-trained monkey.
I’m no different. I just like checking for solutions in the net.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline