Link preview not working anymore
-
Hi,
When I make a post in the classic editor and I insert a link from another post from my website I see the preview and a the photo as always.
But when I save it and look at the article I just see the blue link (see link)
This is happening now for 2 days. In the older posts they are still visible.
I tried disabling plugins but no help.
I noticed it happens with Chrome, Brave and Chrome Android. i tried Mozilla and there it is visible as it should be.
[ redundant link removed ]Any idea?
-
This topic was modified 4 years ago by
Jan Dembowski.
The page I need help with: [log in to see the link]
-
This topic was modified 4 years ago by
-
Greetings,
Using Firefox I don’t see any gaps in the content so I would presume everything is working correctly–as much as it can. If you are seeing problems using a specific Browser then it could be the problem is Browser specific. If familiar with Browser Dev Tools (press the F12 Key to see them) then I would suggest using it in the Browsers having the problem.
Although there are many errors and I was going to give up looking any further, I did spot this error:
<script type='text/javascript'> window.__pia_affiliate_id = 6013 ... })() <meta name="c772f34022b66a8" content="d669dcb94badd42c39909cf0db44b767" />
As there is no closing </script> it is causing cascading problems. This could be the problem, I’m not sure.
I would suggest cleaning up all or some of the code errors. It’s hard to debug a page when there are so many errors, one is not sure which one is causing problems.
Thanks for pointing out the errors. I did not realize this.
Also for the efforts.Unfortunately I am not that familiar with this.
A while ago I hired a person at Fiver to install the VideoJS player correctly.
Well, after all it did not work but I do know he coded some “things”.I do understand the error you showed me and I removed the script since I do not need that option from PIA VPN.
I am not familiar in debugging.
What do you advice to do now to get rid of all those errors? Is there a automated debug tool for that?
Removing the error you spotted did not solve the problem by the way.
Thanks for all the efforts
After deleting some unnecessary scripts I feel the page is faster.
About the other code-errors, I will have to seek for help.There is still the problem with the “post-preview” (or what is the correct name so I can find a plugin that does the same for me?).
It′s clearly just in Chrome for all users. Also the previews from older posts are gone. I made a mistake saying they are still there.
Should all wordpress users not have the same problem I have now?
For whatever reason, I now see there is some sort of security in effect. It says by CloudFlare but maybe it is a setting you enabled? Definitely want to get rid it though.
An excellent place to get a second opinion, on coding errors, is https://validator.w3.org/ . Unfortunately the security setting I mentioned prevents that from happening although one can Copy & Paste the source code to get a look-see anyway. It also prevents an excellent site like https://www.webpagetest.org/ but it does allow https://gtmetrix.com/ . Strange!
Both these sites are Free and used for helping to troubleshoot Web site problems. GTMetrix for example, quickly shows problems that need correcting.
https://gtmetrix.com/reports/commonsensetv.nl/BdnMfggM/
With that said, here a correction you can manually do.
Your code is using “sizes” in Image tags instead of “width”. If that method is used then this line of code “must” be in the <head></head> part of the document.
<meta http-equiv=”Accept-CH” content=”DPR,Width,Viewport-Width”>
Add it near the top for easy reference. It’s not the best method but it is something you can do, right now, to help solve some problems.
I’m not sure why “sizes=” is being used instead of “width=” but if you don’t need it, switch to using “width=” for images. If not sure what I’m talking about you have to ask yourself, “Where did that coding come from and how can I change it?”. It’s little things like this, coding not being used correctly, that causes a world of hurt for someone just trying to have a website.
As to the problem you have when using Chrome, have you tried using another Browser for working in the Admin section?
I’m not aware of any Plugin/Tool one can use to correct Coding errors–that’s what we Coders do. ??
Many people have the same or worse problems as yourself because it is a Myth that running a Web site is easy if one uses some sort of script. WordPress and other type script/software are usually fine to work with, as long you do not want to customize anything. Working with Software, Themes, Plugins not fully understood, will only cause problems and headaches. You should determine what needs to be fixed and a budget to work with. Then go from there. Otherwise you’ll need to spend a lot of time learning.
Hi Rob,
First of all, I managed to delete some useless bad scripts.
Yes we are under brute force attack for a week now-.
I notice that protection causes multiple problems. Some functions of the JetPack do not work anymore. Also, the foreign pages of my website are not reachable anymore.
When I disable CloudFare Under Attack mode the the site is slow because of the Brute Force Attack.
I also installed WordFence. My host recommended it. That works well but I feel it also causes conflicts.“I’m not sure why “sizes=” is being used instead of “width=” you said.
I have no idea about this. Not familiar with coding. Maybe a person who tried to install VIDEOJS did this? I know he coded “something” at my website.
Also, the page is build with Elementor. I am not sure if that is a reason for this.Since it was still too difficult for me, I found JWPlayer and that works great.
I am going to take a closer look ad your advice and try. If not: How and where do I hire someone who cleans this “mess” for me? ??
Thanks for all the help-
Thanks again.
The problem is not yet solved and you are right it is difficult for me to understand but you changed my way of thinking in order to try to solve these problems.When you say “under attack” it does not mean much as there are so many ways a site can be attacked. I realize this is an open Forum and not providing too much or not enough information can be a tricky thing, and information is what is needed to help with problems.
Do you have a Firewall Plugin installed or other type of security Plugin?
I do believe CloudFlare uses Apache which means you have an .htaccess file. That will allow for lots of customization, security settings and optimizing of your site. Speaking of which, have you spoken to CloudFlare support about your attack situation? Reaching out to your Host should be done when having any serious website issues. Also might help with WordPress as whomever works on these issues may need access to not only WordPress Admin but also your Hosting account–so a trust situation is vital.
Hi.
I do have a firewall installed by cloudfare, if I am right. I also had the plugin WordFence but it gave many problems and the site went terribly slow. I felt like it conflicted with cloudfare.
I am too unexperienced to know where to look and how to try to solve this. I have not even an idea how to code and I just know how to put scripts in the header or footer.
I spoke to support from my host, they are very helpful but htis is their answer to my original question why the link-preview does not show up in Chrome. Even with ALL plugins disabled.
TMDHosting
We have further reviewed the issue with the preview of the post. Regretfully, we are not able to determine what might have caused the issue and all the remedies we have tried to apply do not seem fit. We have also tried to comment our some rules in the .htaccess file in case they were causing this behaviour, however, it was not successful.We seem to be able to properly see the preview of the post/link in the Mozilla Firefox browser for example, but still not in Chrome. The issue is most likely connected with some of the errors that could be seen in the dev console like the DOMException, however, we were unable to determine how to resolve this as it is outside of our general expertise.
Now, reading your answers before and of what I experience I can make up something is not right at my website. But no clue where to go, what to do, who to ask/hire to take a closer ook for me.
The host is very helpful and always answers quickly.
They really tried to solve the problem for me but this time they could not solve it.I wish it was like Windows. Buy a cleaner and solve it.
But as you said before: Running a website can be a headache.Sent an eMail to you using the Contact form on your website.
I sent a mail back.
Did you recieve it?Nothing received yet, and Spam folder was checked as well. Any problems you are aware of sending to gmail? Perhaps try again.
my email is: info at commonsensetv dot nl
I am sorry for the late answer,. I was assuming you received it.
- The topic ‘Link preview not working anymore’ is closed to new replies.