How to increase maximum upload file size in LiteSpeed/WordPress/Ubuntu 20

Unlike Apache, LiteSpeed requires to restart each service interacting with it. PHP isn’t excluded of this rule, so you must restart it too after changing the php.ini file. 1/ Edit the following line (here for php8): /usr/local/lsws/lsphp80/etc/php/8.0/litespeed/php.ini For instance with nano: nano /usr/local/lsws/lsphp80/etc/php/8.0/litespeed/php.ini 2/ Change upload_max_filesize & post_max_size (you might consider increasing max_execution_time & max_input_time […]

Tutorial: WebPageTest Private Instance with Google Cloud Compute (GCP)

Bulk test isn’t available in public WebPageTest offer.I’ve quickly made the tutorial which you can reuse to create your own instance, for a price starting from $1 per month if you are careful 🙂 1/ Setup the main server Ubuntu 16.04 LTS 1-2 CPU persistent (non persistent ok only for agents) SSD – 10 GB […]

Add column with domain name to CSV file with Python

A script to add a column containing only the domain name to an existing CSV file. It extract it from a column containing an URL. It works with .co.uk and other country code top-level domain. Just change “5” by the column containing the URL. Also don’t forget to adjust. Here is it setup for semi-colon for […]

Extract domain name with Python

tldextract is the best library to extract the domain name with Python. Here is how it looks in action: import tldextractext = tldextract.extract(‘http://forums.bbc.com’)print(ext.registered_domain) Which would output: bbc.co.uk

Deep diving in Search Console data

Bellow a list of interesting ressources to play with Search Console data. I’ve put in bold what makes the dashboard somehow different. Feel free to comment to complete this list. DataStudio How to use the official Search Console Connector with DataStudio – (no dashboard) – by Ruben Vezzoli Calculate the accurate amount of Impressions Branded […]

Ecommerce Conversion Rate with Google Analytics API

To get the ecommerce conversion rate with Google Analytics API, you can use the metric ga:transactionsPerVisit or ga:transactionsPerSession depending of API version you are using. Enjoy ! 🙂

Finding the LCP node with Chrome DevTools

Official documentation about Largest Contentful Paint is super interesting and explicit. But it misses one thing: How to identify the largest node / block / image /text ? Chrome DevTools allows you to find which node you should optimize. Simply follow the steps below. Open Chrome Open the page you want to find the LCP […]

Google and Canonical URL

In this post I will change the canonical URL in the <head>, just to see how Google and Googlebot behave between discovery of the URL discovered in the tag. The canonical tag looks like this: I’ve changed the URL in this example on purpose, in order to make sure that Googlebot discovers the URL only […]

Impact of search of images on log for SEO

I recently stated a huge difference between the traffic monitored in the Search Console and what I could find in the log files using Kelogs log analyzer. My first hypothesis is that Google Image could be at the origin of this difference, with a preload in background. Second hypothesis is that the first results in […]

Test of Indexation of images in background by Google

In this post, there is a background image. It is the picture of my 3 years old Macbook Pro 2016 which is already dying… The screen is sometimes not usable, and most of the time there is just one line, vertical. The idea is to check if either of not Google will index an image […]

Next Page »