开发者 |
factmaven
ethanosullivan |
---|---|
更新时间 | 2020年4月8日 00:43 |
捐献地址: | 去捐款 |
PHP版本: | 4.3 及以上 |
WordPress版本: | 5.4 |
版权: | GPLv3 |
版权网址: | 版权信息 |
Remove HTTP is a plugin that automatically scans and removes bothBefore ` Example ` After ` Example ` Switch to Relative URLs There is an option (under the General settings) to change internal links to relative URLs. Contribute on GitHub Want to help improve this plugin? Head over to our GitHub page.http:
andhttps:
protocols from all links. This helps resolve websites that are having "mixed content warnings" which is when the website has assets (images, JavaScript, and CSS) loading both HTTP and HTTPS. No changes to the links are made in the database. Simply install and activate the plugin and the changes will be immediate. Links that havehttp://
orhttps://
will only have//
, making them protocol relative URLs. Below is a before and after example.
/wp-content/plugins/
directory.Plugins
menu in WordPress.According to Google:
Mixed content occurs when initial HTML is loaded over a secure HTTPS connection, but other resources (such as images, videos, stylesheets, scripts) are loaded over an insecure HTTP connection. This is called mixed content because both HTTP and HTTPS content are being loaded to display the same page, and the initial request was secure over HTTPS. Modern browsers display warnings about this type of content to indicate to the user that this page contains insecure resources.
You can actually remove the dependency of this plugin by following these step-by-step instructions below: https://wordpress.stackexchange.com/a/238842/98212 It's slightly technical because you'll need to connect to your website's host file through an FTP (such as FileZilla). After that, all of your links will be pointing towards your new HTTPS protocol.
<link>
tags with rel="canonical"
because they must be absolute URLs