admin管理员组文章数量:1415139
I recently upgrade my site to use SSL through a reverse proxy. I have changed the WordPress address and site address in the Settings menu and the main page loads just fine:
If you click through to one of my posts however you get mixed content warnings on the SSL certificate: /
I see the images on the page are still pointing to the http:// URL they were added with but I would have thought that my redirect would force them to be served over https://, this doesn't seem to be the case. Either way I'm happy to rewrite them to protocol relative URLs, I'm just not sure on the best way. How is it best to go about changing the URLs for the images in posts?
I recently upgrade my site to use SSL through a reverse proxy. I have changed the WordPress address and site address in the Settings menu and the main page loads just fine: https://www.scotthelme.co.uk
If you click through to one of my posts however you get mixed content warnings on the SSL certificate: https://www.scotthelme.co.uk/wifi-pineapple-karma-sslstrip/
I see the images on the page are still pointing to the http:// URL they were added with but I would have thought that my redirect would force them to be served over https://, this doesn't seem to be the case. Either way I'm happy to rewrite them to protocol relative URLs, I'm just not sure on the best way. How is it best to go about changing the URLs for the images in posts?
Share Improve this question asked Sep 22, 2013 at 21:08 Scott HelmeScott Helme 2711 gold badge2 silver badges9 bronze badges2 Answers
Reset to default 4Installing the WordPress HTTPS plugin should take care of it.
After Implementing SSL, any link or image have http then you always get mixed content warnings in Console and page will not work properly,
so you should fix all http
to => https
by manually or plugin
本文标签: After updating site to use SSL all images in posts point to http
版权声明:本文标题:After updating site to use SSL all images in posts point to http: 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745229088a2648743.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论