Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

aosus wordpress

FarisZR edited this page Mar 22, 2023 · 1 revision

fix ERRCONTENTDECODING_FAILED

DON'T ENABLE Compress pages so they’re served more quickly to visitors. (Recommended) IN WP-SUPER CACHE, it breaks the site.

EWWW image optimizer settings

1 - switch to ludicrous mode

2- go to local > install svg cleaner

basic

  • enable Add Missing Dimensions
  • enable WebP Delivery Method > JS WebP Rewriting

Advanced

  • enable Parallel Optimization
  • enable Scheduled Optimization if you want to

Convert

  • disable delete original

Ban Useless bots

copy robots.txt from https://www.cyberciti.biz/robots.txt

edit robots.txt using yoast , and make sure not to remove the sitemap.

Disable link underlinke

/* disable link underline */
.nv-comment-content a, 
.nv-content-wrap a:not(.button):not(.wp-block-file__button) {
    text-decoration: none;
}

https://docs.themeisle.com/article/1267-how-to-remove-the-underline-from-links-in-neve

Fix mysql.column_stats: expected column ‘hist_type’

This problem is caused by improper upgrade for MariaDB.

The solution is to enable upgrade checks for MariaDB, using the MARIADB_AUTO_UPGRADE envvar

Sources

https://techoverflow.net/2022/06/07/how-to-fix-docker-mariadb-correct-definition-of-table-mysql-column_stats-expected-column-hist_type-at-position-9/