How to compress image from Facebook Page Plugin on PageSpeed Insights - wordpress

I added a Facebook Page Plugin on my website and I am currently optimizing the site by checking it on Google Page Insight so under Optimize images
Optimize the following images to reduce their size by 11KiB (20% reduction). How can I optimize the images on the Facebook Page Plugin? is there any way I can do that?

Our company also has this problem, you could either:
Contact facebook to fix it for everyone (Including us).
Not include the facebook snippet if the google pagespeed scraper is found.
The second option worked for us.
(Code is from my job, I can't share that. And it will be patched if google finds it).

Related

Lighthouse Audit says, "Links to cross-origin destinations are unsafe" and shows some URL which doesn't exist in my theme. How to fix them?

I was auditing my website using Lighthouse audit by Google. In the portion of "Best Practices", it shows 3 errors, out of them there is one error I want to know more and its solution. This image "https://i.imgur.com/dYaLo2Y.jpg"
is attached. It shows some share URLs (means any share button below the post which we see usually on every website) but my WordPress theme doesn't have any share option in any post. But when I point on each of them they show to go twitter, facebook, pinterest, etc. How can I access these URLs (Add rel="noopener" or rel="noreferrer" to any external links to improve performance and prevent security vulnerabilities) to rectify my website? Obviously, those websites are not my property. But the URL shows this. How to find this URL on my website and how to rectify this issue by using the recommendation given in this audit.
PS: I am using the theme, "writing". I am not using any plugin which is related to social share.

Facebook Pixel problem with Woocommerce and WP-Rocket cache

I've got a E-commerce website using Wordpress with Woocommerce. The client has asked for us to include Facebook Pixel tracking. I have installed the official Facebook Pixel Woocommerce plugin and set it up. But when checking to see if it is working with the facebook pixel chrome extension. I get the following error on every page except for the checkout:
"We detected event code but the pixel has not activated for this event, so no information was sent to Facebook."
After a bit of investigation it seems to be the cache that is creating this error. I'm using wp-rocket for caching, when I deactivate the cache it seems to be working fine everywhere. But this isn't exactly an ideal solution.
I would really need it to work with the cache. But I can't seem to find anything online about this problem.
Any help would be appreciated.
The live site can be found here: https://maradji.com/
WP Rocket provides an Add-on (free) for the Facebook Pixel. It should work, if you used the standard plugins for the Pixel (or the ones they expect).
Facebook Pixel Add-On
I had the same problem, this happened with wp rocket last update. Go to settings and deactivate the Combine Javascript and differed loading Javascript options. Its a shame but im sure they will fixe it in the next update.

WordPress test site is slow despite good scores on several page speed sites

I am developing a website for a car rental company and am using a subdomain for testing. The site is very slow on all browsers (and on the backend) despite high score on Pingdom, PageSpeed Insights, and GTmetrix. I'm not new to WordPress and page speed and have been able to achieve speed with the use of plugins and the right hosting.
I am using the Avada theme with the following plugins (I have already removed each plugin individually to see if any one of them was the culprit):
Autoptimize
JCH Optimize
Ninja Forms
Justified Image Grid
W3 Total Cache (used with maxCDN)
WP Migrate DB
WP-Optimize
wpMandrill
Our hosting provider is HostGator but I want to use Pagely.
Here is our Site
I just tested it out on pingdom and scored a 91/100.
Also, pages with very little content, such as our contact page, run slow as well.
FYI, this is a test site so you might find random pics of my dog in strange locations.
If you are using Google Chrome, open an incongnito page and open developer tools, click on network and then load your site. Now sort by time(latency). You will notice JCH Optimize, Autoptimize and WP-Optimize are taking up a lot of load time. Disable these plugins one by one to see if it makes any difference.
Also - I don't think you need three different plugins to optimize your site. One should be enough.
Hope this helps.

Need a wordpress plugin for Google analytics, favicon!

I am using wordpress for my site. My site needs to add google analytics, favicon, meta keywords, meta descriptions. I searched plugin for this. I found different plugins for each. Can anyone suggest me a plugin which can add google analytis, favicon, metakeywords and meta description?
Any help will be appreciated. Thanks in advance
These are different functionalities and are properly handled by different plugins. Install the plugins you need. On Linux platforms, you can often just put the favicon in the sites root directory and not use a plugin.
As far as I know, the keywords and description meta tags are ignored by all search engines because spammers exploit the heck out of them. I suggest not bothering with them. However, if you still want to, read what the WordPress guys say.
As for Google Analytics and favicons, here are the plugins I recommend:
Shockingly Simple Favicon
Google Analytics for WordPress
Google Analytics Dashboard (Optional, but very useful. Shows an Analytics summary in your WordPress dashboard to save you time.)
Don't forget to also add a favicon.ico to your site root (even an empty one will do) to stop browsers from repeatedly attempting to retrieve it. (Don't believe me? Install any WordPress favicon plugin and then check your server logs.)
The favicon.ico in the site root will appear temporarily until the page has loaded enough for the <head> to be parsed and the new icon loaded, so I suggest not leaving it empty. Some sites (eg. deviantART) even take advantage of that to display different icons for "loading" and "loaded".

Cannot see my wordpress website on google search

Hi guys I recently uploaded a site made with wordpress.
The site url is oakabeachvolley.gr
I have set on the privacy settings of wordpress for the site to be visible by search engines. However after almost 45 days the site is invisible on google even when I'm searching using the url name and very specific keywords.
Since I have made quite a few sites with wordpress I have never seen this behavior before. Sites will eventually be visible to google engine, sometimes even in the first day.
However in this case the site does not show nowhere in the first 20 pages.
Any help would be greatly appreciated.
You should create two files robots.txt and sitemap.xml and upload on your site and then google crawler will come to your site. You can use Google Webmaster Tool for that.
Also, there are some wordpress plugins available to create sitemaps for example. See this:
http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/

Resources