Site optimisation checklist

Core Web Vitals

Recommended plugins

Plugin: Text Replace by Scott Reilly in order to globally replace any text string (great for translations)
Plugin: Classic Widgets
Plugin: Classic Admin
Plugin: Companion Sitemap Generator
Plugin: Hummingbird

  • Activate Caching
  • Gzip Compression
  • Asset Optimisation
  • Advanced Tools > Prefetch DNS Requests of use.fontawesome.com and fonts.googleapis.com

Check web vitals:

Redirect everything from a subdomain to clean URL without variables

RewriteEngine on
RewriteBase /
RewriteRule (.*) https://www.heroes-spain.com/? [R=301,L]

Plugin to choose any permalink: Custom Permalinks (needs wordpress url rewriting to be enabled)

Display random links on page:
*Plugin “PHP Everywhere”

<?php
$link_list = "
URL1
URL2
URL3
";

$skuList = explode(PHP_EOL, $link_list); //Make plaintext list of URL separated by linebreak into an array
$skuList = array_map('trim', $skuList); // Remove blanks at the end of each url if any
$skuList = array_filter($skuList);
shuffle($skuList); // Shuffle the array of links and get some uniqueness of sorts

// But how to handle cached page??? You will need to disable caching for the specific URLs that will show this code. It can easily be doe with All in One SEO. Trying With Youast SEO too, obviously.

$n=0;
$num_links = mt_rand(8, 32);
foreach($skuList as $URL)
{
$parse = parse_url($URL);
$host = $parse['host'];
echo '<a target=_blank href="'.$URL.'">'.$host.'</a>, ';
$n++;
if($n==$num_links) break;
}
?>