Public Notes for everyone and me to remember how Problems are solved
- On your hosting service provider or service Panel (GridPane.com) disable the clickjacking protection
- Install the plugin https://github.com/PHPWatch/WordPress-SameSite (Click on the green code button, download as Zip, upload as Plugin)
- add these lines to the functions.php
remove_action( 'login_init', 'send_frame_options_header' );
remove_action( 'admin_init', 'send_frame_options_header' );
- add this to wp-config.php
define('WP_SAMESITE_COOKIE', 'None' );
This above
- Allows you to display the site with the login page and the administrative panel in a frame
- Give opportunity to use all cookies including session cookies in iframes. If third parties do not know your admin area passwords, the only security problem is displaying your pages in a iframe, but they are protected by login + Wordpress by default allows you to display the site pages in iframe
- As always: Create a full site Backup.
- Clear all caches (Page Cache, Object Cache,...) to be sure this isn't a caching issue.
- To be sure, deactivate caching temporarily
Follow the guides below:
- Go to Pages, iterate through the WooCommerce pages by hitting
Edit with Brizy
- Edit the WooCommerce Element: Change the width to 99%
- Hit
Save page
/Update page
- Edit the WooCommerce Element: Change the width back to 100%
- Hit
Save page
/Update page
again - Enable Caching again -> The page should work again. If not, check the guide below
Brizy Pro + Woocommerce: Cart / Checkout / Account and Login Page can't be edited with Brizy and the page editor is loading indefinitely
- Go to Pages, iterate through the WooCommerce pages by hitting
Edit
(Note: DO NOT hit "Edit with Brizy" this time) - On the right side: Next to "Templates" hit
Brizy Template
and at the dropdown chooseStandard Template
- On the top right: Hit
Save
- Hit
Edit with Brizy
- Edit the WooCommerce Element: Change the width to 99%
- Hit
Save page
/Update page
- Edit the WooCommerce Element: Change the width back to 100%
- Hit
Save page
/Update page
again - Go back to the previous edit page (most bottom left,
More
>Go back to Dashboard
) - On the right side: Next to "Templates" hit
Standard Template
and at the dropdown chooseBrizy Template
- On the top right: Hit
Save
- Enable Caching again -> The page should work again.
Just go to Settings > Permalinks and hit save. You might need to purge the cache as well.
Can't quick edit / The Link you followed has expired: "Hidden" Nonce error related to WordPress
If this Error message appears while quick edit more than one item, delete your cache, if installed: go through your Scalability Pro settings and disable all settings, disable and re-enable the LiteSpeed Plugin, logout and login.
The link you followed has expired.
Please try again.
This message was triggered by WordPress core.
Call stack
wp_die()
wp-includes/functions.php:3664
wp_nonce_ays()
wp-includes/pluggable.php:1293
check_admin_referer()
wp-admin/edit.php:77
Make Litespeed UCSS work, complete process and tools to use https://www.youtube.com/watch?v=kSC2sKb-K2k
It will make you Cache be missed
sc_f
c
Do not cache the Cart Hash Cookie, vary the cookie of the current language of WPML and the current currency
woocommerce_cart_hash
Try to add these lines to your .htaccess file
<IfModule LiteSpeed>
RewriteEngine On
RewriteRule .* - [E=Cache-Vary:woocommerce_current_currency]
RewriteRule .* - [E=Cache-Vary:wp-wpml_current_language]
</IfModule>
# BEGIN litespeed noabort
<IfModule rewrite_module>
RewriteEngine On
RewriteRule .* - [E=noabort:1]
</IfModule>
# END litespeed noabort
https://github.com/WpSpeedDoctor/litespeed-cookie-based-caching https://www.youtube.com/watch?v=cJeZv3tG-FU
Sometimes WP-Con Jobs won't trigger on (Open)LiteSpeed Servers. Here's how to fix this:
"Do Not Cache Query Strings" from /wp-admin/admin.php?page=litespeed-cache#excludes this
doing_wp_cron
and disable "Cache WP-Admin" from /wp-admin/admin.php?page=litespeed-cache#object
Might fix Cloudflare issues with WP-Cron as well.
Add redirects to .htaccess instead of the database https://redirection.me/support/options/#apache
- https://de.wordpress.org/plugins/system-dashboard/
- https://wordpress.org/plugins/wp-healthcheck/
- https://de.wordpress.org/plugins/wp-server-stats/ - Warning - Adds a lot of Autoload
- https://wordpress.org/plugins/pre-party-browser-hints/ - Pre-Load/Connect Assets. Attention: May Break your headers in LiteSpeed, check on testsite first!
- https://wordpress.org/plugins/docket-cache/ - An Object Cache Accelerator as Plugin and alternative to memcache and Redis
- https://wordpress.org/plugins/freesoul-deactivate-plugins/ - Deactivates Plugins based on sites instead of unloading CSS/JS | Free/Paid
- https://wordpress.org/plugins/plugin-organizer/ - Deactivates Plugins based on sites instead of unloading CSS/JS | Free
- https://wordpress.org/plugins/index-wp-mysql-for-speed/ && https://github.com/OllieJones/index-wp-mysql-for-speed - Adds Indexes to your DB to improve speed
- https://wordpress.org/plugins/index-wp-users-for-speed/ - Companion Plugin for Index WP MySQL for Speed
- https://wordpress.org/plugins/wc-speed-drain-repair/ - Unloads WooCommerce Components where they are not needed