این افزونه با آخرین 3 نسخه اصلی وردپرس تست نشده است. ممکن است دیگر نگهداری یا پشتیبانی نشود و ممکن است هنگام استفاده با نسخه های جدیدتر وردپرس مشکلات سازگاری داشته باشد.

Remove HTTP: Fix Mixed Content Warning

توضیحات

Remove HTTP is a plugin that automatically scans and removes both http: and https: 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 have http:// or https:// will only have //, making them protocol relative URLs. Below is a before and after example.

Before

<link rel='stylesheet' href='https://example.com/style.css' type='text/css' />
<script type='text/javascript' src='http://example.com/script.js'></script>
<a href="https://example.com" title="Example">Example</a>
<img src="http://example.com/image.jpg" width="150" height="50" />

After

<link rel='stylesheet' href='//example.com/style.css' type='text/css' />
<script type='text/javascript' src='//example.com/script.js'></script>
<a href="//example.com" title="Example">Example</a>
<img src="//example.com/image.jpg" width="150" height="50" />

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.

نصب

  1. Upload the plugin to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Let it settle in for a minute and be amazed.

سوالات متداول

What is mixed content?

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.

How can I make my website fully SSL (on https://)?

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.

نقد و بررسی‌ها

اپریل 23, 2021
Saved one site with a lot of mixed contents issues hard to track down! Well done! Tested and working on WordPress 5.7.1
جولای 23, 2020
plugin has an option to ignore externall but no option to ignore for internal links.. plzz add option to ignore for internall links...
اپریل 17, 2018
This really worked for me! Thanks a lot! Now I wonder if I dare to disable the wordpress-https plugin, or not...
آکتوبر 22, 2017
Shame this plugin doesn't have a 5* rating due to a few 1* reviews which aren't helpful/fair. Worked as intended, and saved me a bunch of time. Thank-you!
خواندن تمامی 21 نقد و بررسی‌

توسعه دهندگان و همکاران

“Remove HTTP: Fix Mixed Content Warning” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “Remove HTTP: Fix Mixed Content Warning” به زبان شما.

علاقه‌ مند به توسعه هستید؟

کد را مرور کنید, را بررسی کنید مخزن SVN, یا مشترک شوید گزارش توسعه توسط RSS.

گزارش تغییرات

2.2.0

2020-04-06

  • Protocol is only removed on frontend #11
  • Fix: Settings not showing under Site Address (URL)
  • Fix: Settings icon is enlarged on Plugin page #9

2.1.1

2017-09-09

  • Added support for relative domain paths

2.1.0

2017-04-09

  • Restored option to ignore external links

2.0.0

2017-03-28

  • Feature: Switch between protocol-relative or relative URLs
  • Ignore <link> tags with rel="canonical" because they must be absolute URLs
  • Fix: Links in “style” tags weren’t affected