Sehen Sie den Fehler mit gemischten Inhalten in WordPress?
Der Fehler „gemischter Inhalt“ in WordPress wird durch falsche HTTPS/SSL-Einstellungen verursacht. Er beeinträchtigt oft nicht die Funktionalität Ihrer Website, kann aber negative Auswirkungen auf die Suchmaschinenoptimierung und die Benutzerfreundlichkeit Ihrer Website haben.
In diesem Artikel zeigen wir Ihnen, wie Sie den gemischten Inhaltsfehler in WordPress beheben können.
Was ist der Fehler „Gemischter Inhalt“ in WordPress?
Der Fehler mit gemischten Inhalten tritt auf, wenn Ihre WordPress-Website eigentlich sicher sein sollte (mit HTTPS/SSL), aber dennoch einige Dinge, wie Bilder oder Skripte, über eine unsichere Verbindung (HTTP) bereitgestellt werden.
DasHinzufügen von SSL und HTTPS in WordPress ist wichtig, weil es die Informationen verschlüsselt, die zwischen Ihrer Website und den Browsern der Nutzer ausgetauscht werden, was es Hackern erschwert, persönliche Daten abzugreifen. Auch Google bevorzugt sichere Websites für das Suchranking.
Die besten WordPress-Hosting-Unternehmen bieten kostenloses SSL als Teil ihrer Pakete an. Wenn Ihr Hosting-Unternehmen dies nicht anbietet, können Sie über Let’s Encrypt kostenloses SSL für Ihre WordPress-Site erhalten.
Wenn Ihr SSL richtig eingerichtet ist, sehen Sie ein kleines grünes Vorhängeschloss in der Adressleiste, das anzeigt, dass die Seite sicher ist.
Wenn dies nicht der Fall ist, sehen Sie möglicherweise ein defektes Vorhängeschloss und eine Meldung, dass Ihre Verbindung nicht vollständig sicher ist.
Etwa so:
Sie können herausfinden, welche Inhalte über ein unsicheres Protokoll bereitgestellt werden, indem Sie das Tool Inspect verwenden.
Der Fehler bei gemischten Inhalten wird als Warnung in der Konsole mit Details für jedes Element mit gemischten Inhalten angezeigt.
Wenn der Fehler mit gemischten Inhalten nicht behoben wird, ist es wahrscheinlicher, dass Ihre Website gehackt wird und dass Besucher Ihrer Marke nicht vertrauen. Außerdem könnte Ihre Website dadurch in den Suchergebnissen schwieriger zu finden sein.
Schauen wir uns also an, wie man den Fehler „gemischter Inhalt“ in WordPress leicht beheben kann.
Behebung des Fehlers „Gemischter Inhalt“ in WordPress
Als Erstes müssen Sie das Plugin SSL Insecure Content Fixer installieren und aktivieren. Weitere Einzelheiten finden Sie in unserer Schritt-für-Schritt-Anleitung zur Installation eines WordPress-Plugins.
Nach der Aktivierung müssen Sie die Seite Einstellungen “ Unsichere SSL-Inhalte in der Seitenleiste Ihrer WordPress-Verwaltung aufrufen, um die Einstellungen des Plugins zu konfigurieren.
Dieses Plugin bietet verschiedene Möglichkeiten zur Behebung des Fehlers „gemischter Inhalt“. Wir werden jede von ihnen erklären, was sie tun und welche für Sie am besten ist.
1. Einfach
Dies ist die schnellste und am meisten empfohlene Stufe für alle Einsteiger. Sie behebt automatisch den Fehler für gemischte Inhalte in WordPress für Skripte, Stylesheets und Bilder der WordPress-Medienbibliothek.
2. Inhalt
Wenn die Stufe „Einfach“ den Fehler „Gemischter Inhalt“ auf Ihrer Website nicht behebt, sollten Sie die Einstellung „Inhalt“ ausprobieren. Sie nutzt alle Funktionen der Stufe „Einfach“ und prüft zusätzlich, ob der Fehler in WordPress-Inhalten und Text-Widgets behoben wurde.
3. Widgets
Diese Stufe umfasst alle Korrekturen, die auf der Inhaltsstufe angewendet wurden, sowie eine zusätzliche Korrektur für Ressourcen, die in den WordPress-Widgets auf Ihrer Website geladen werden.
4. Erfassen Sie
Bei dieser Methode wird alles auf jeder Seite Ihrer Website erfasst, von der Kopfzeile bis zur Fußzeile, und alle URLs werden durch HTTPS ersetzt. Sie ist langsamer und kann die Leistung Ihrer WordPress-Website beeinträchtigen.
5. Alle einfangen
Wenn alle oben genannten Stufen fehlschlagen, können Sie diese Einstellung versuchen. Damit wird versucht, alles zu reparieren, was zu unerwartetem Verhalten auf Ihrer Website führen kann. Außerdem hat sie die größten negativen Auswirkungen auf die Leistung.
Nach der Auswahl einer Inhaltskorrekturstufe können Sie auf der Seite nach unten gehen und den Abschnitt „Korrekturen für bestimmte Plugins und Themen“ finden.
Wenn Sie die in diesem Abschnitt aufgeführten WordPress-Plugins oder -Themes verwenden, können Sie hier ein Häkchen setzen. Dadurch wird sichergestellt, dass die von diesen Plugins unterstützten Inhalte keine Warnungen vor unsicheren Inhalten enthalten.
Wenn Ihre Website Links oder Ressourcen enthält, die auf externen Websites (nicht auf Ihrer eigenen) gehostet werden, können Sie als Nächstes die Einstellung „Nur Inhalte reparieren, die auf diese WordPress-Site verweisen“ aktivieren.
Dadurch wird verhindert, dass das Plugin versucht, diese Links auf HTTPS umzustellen.
Scrollen Sie nun nach unten zum Abschnitt „HTTPS-Erkennung“.
Hier können Sie auswählen, wie der HTTPS-Inhalt auf Ihrer Website erkannt werden soll.
Die Standardoption ist die Verwendung einer WordPress-Standardfunktion, die für die meisten Websites geeignet ist.
Darunter finden Sie weitere Optionen, die nützlich sind, wenn Sie Cloudflare CDN, einen Nginx-Webserver und mehr verwenden.
Wählen Sie die Methode aus, die Ihrer Meinung nach für Ihre Website am besten geeignet ist, je nachdem, wie Ihre Website aufgebaut ist.
Vergessen Sie nicht, auf die Schaltfläche „Änderungen speichern“ zu klicken, um Ihre Einstellungen zu speichern.
Sie können nun Ihre Website besuchen, um zu sehen, ob die Probleme mit unsicheren Inhalten auf Ihrer Website behoben wurden. Stellen Sie sicher, dass Sie Ihren WordPress-Cache leeren, bevor Sie Ihre Website überprüfen.
Wenn der Fehler mit gemischten Inhalten in WordPress nicht behoben ist, müssen Sie die Einstellungsseite des Plugins erneut aufrufen und die Korrekturstufen neu einstellen.
Sehen Sie immer noch den Fehler mit gemischten Inhalten? Möglicherweise müssen Sie Ihre Website auf andere SSL-bezogene Probleme überprüfen. Wir empfehlen Ihnen, unseren Artikel über die Behebung der häufigsten SSL-Probleme für WordPress-Anfänger zu lesen.
Wir hoffen, dass dieser Artikel Ihnen geholfen hat zu erfahren, wie Sie den Fehler für gemischte Inhalte in WordPress beheben können. Vielleicht möchten Sie auch erfahren, wie Sie ein kostenloses SSL-Zertifikat für Ihre Website erhalten und unseren ultimativen WordPress-Sicherheitsleitfaden lesen.
Wenn Ihnen dieser Artikel gefallen hat, dann abonnieren Sie bitte unseren YouTube-Kanal für WordPress-Videotutorials. Sie können uns auch auf Twitter und Facebook finden.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Blue says
I had to select the „capture all“ option, but it fixed the mixed content issue I was having with my dropdown menu! Thank you!
WPBeginner Support says
Thanks for sharing what worked for you!
Admin
Tiya says
My site is AdSense approved. If I use it to fix my mixed content issue. Will it affect my ads?
Please solve my query.
WPBeginner Support says
Fixing the mixed content shouldn’t cause an issue.
Admin
Nilla says
Installed the SSL Insecure Content Fixer and ran Simple option, which cleared everything in Chrome for my test site. Installed the plugin on the live (identical) site but only cleared certain pages.
WPBeginner Support says
You would want to clear any caching and resave your permalinks for the most common solutions but you would want to reach out to the plugin’s support for assistance
Admin
Pelumi says
Thanks!
Solved my site problem!
WPBeginner Support says
Glad our guide was helpful
Admin
Pawan Jaju says
Really Helpfull, Thank you soo much
WPBeginner Support says
You’re welcome
Admin
Pardeep Kumar says
Yes, This really worked for me. Opetion No. 4. Capture saved my time and efforts.
WPBeginner Support says
Glad our guide was helpful
Admin
theinformativo says
Thanks a lot, for the help, I was stuck with the mixed content issue but after this method, everything got fixed thanks a lot.
WPBeginner Support says
You’re welcome, glad our guide was helpful
Admin
Alex says
Thank you Capture Helped me solve the issue. But i am wondering if there is any way to make the site’s Performance improved. Thanks
WPBeginner Support says
For speeding up your site you would want to take a look at our guide below.
https://www.wpbeginner.com/wordpress-performance-speed/
Admin
Gaiman says
There is no „SSL Insecure Content“ on the settings.
WPBeginner Support says
You may want to ensure the plugin is installed and activated and you are an admin user of your site for the most common reasons
Admin
John says
Very helpful thanks!
WPBeginner Support says
You’re welcome, glad you found our guide helpful
Admin
Francisca says
None of the options worked for me
WPBeginner Support says
It would depend on what file is causing the error, if it is a theme file you would likely need to reach out to your theme’s support for fixing the file.
Admin
Leonel says
Hi, Great article. It works for me but only Capture all option.
Thanks
WPBeginner Support says
Thanks for sharing the option that worked for you
Admin
James Haselhofer says
What happens when you want to display insecure links on your secure site but the SSL certificate is preventing them from showing?
I want to include links to California’s Caltrans traffic cams on my site but since they’re insecure, they show up on the backend. No mixed content warnings, it just won’t show them on the front end.
I can’t just call the state of California and tell them to add security to their traffic cam links, so is there any fix for this?
WPBeginner Support says
You could use a URL shortener such as Bitly to link to the HTTP link through an HTTPS shortened link
Admin
Herman says
The plugin didn’t work with simple option but did with content option. How do I identify and fix the files or should I just leave as is? If so, does the plugin cause slower loading times?
WPBeginner Support says
You could leave the plugin active or you could use the tool in our article here:https://www.wpbeginner.com/plugins/search-and-replace-plugin-for-wordpress-database/
to go through your content to manually edit the files for forcing them to be https. If you disable the plugin, your site will revert to the mixed content.
Admin
Deepak says
I used search and replace plugin. It fixed my problem temporarily but i see the issue again after a few minutes. I dont understand why. can you suggest?
WPBeginner Support says
You may want to check the caching on your site from plugins and your host to ensure it didn’t cache the mixed version.
Harmeet Singh says
Thanks,
It solved my mixed content problem when I have selected the
setting „Capture“ in the SSL Insecure Content plugin. So do
I leave it as it is or do I change it back to simple.
Regards
WPBeginner Support says
You would go back to the default once you fixed the files that were causing the issue.
Admin
Real Name says
thank you very very much the plugin method worked for me thanks once again.
WPBeginner Support says
Glad our guide could help
Admin
Riyaz says
Make sure that you replace your URL from http://www.example.com to https://www.example.com in wordpress general settings.
If you are using elementor, go to elementor-tools-replace URL and replace with HTTPS.
WPBeginner Support says
This article is for sites already set to HTTPS but to clarify before someone changes those settings they would want to have an active SSL certificate as we explain in: https://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/
Admin
Abhishek says
Thanx bro elementer tool replace url worked for me
Veronika says
Thank you so much. I couldn’t figure out why my site is showing as not secure after I tried so many things and your suggestion finally wroked.
anis sk says
thank you very very much the plugin method worked for me thanks once again.
Ana says
Hey, I switched to https with the plug in downloaded the plug Really Simple SSL and have issues with Mixed content. I’ve downloaded the plug in as indicated and have ended trying all the available options up until capture all, but I’m afraid that it is not working. Any ideas why, or any possible solutions? Thank you.
Des says
Good article and thanks for the plugin recommendation.
Advait says
Great article, it helped me fix our mixed content issue. Recently we switched our WordPress site to https. I had to use the plugin on „Capture“ level before our mixed content errors got fixed. Is that the end of the issue? Or do I need to research and fix the underlying issues that created the mixed content problem in the first place?
Thanks again for a very useful article.
Colin says
Why have you deleted my comment?
alex says
hi
thank you for this useful post. why wpbeiginner doesn’t use https/ssl ???
Colin says
I pointed that out after yours and they deleted it as they can’t answer that question.
They also have mix content issues and won’t fix them…..why?