Vanilla WP

Vanilla WordPress playground

Categorie: WordPress Tuning

Block requests for YITH WooCommerce Wishlist plugin by HTTP referer in mod_rewrite

Sometimes you need to block requests in .htaccess that don’t have a valid HTTP referer header (or one you want). For example, a visitor without an referer header cannot add items to a WooCommerce webshop’s wishlist. For that to happen he has to visit the site and has valid referrer information. Here is how to block requests in mod_rewrite .htaccess that don’t have your website as HTTP referer.

Lees verder

Disable XCloner log directy in WordPress MySQL wp_options table

UPDATE wp_options
	SET option_value = '0'
	WHERE wp_options.option_name = 'xcloner_enable_log';

See the post “WordPress “XCloner – Backup and Restore” log uitschakelen in de MySQL-database” for this information in Dutch.

Set a correct WP_MEMORY_LIMIT value in wp-config.php

You can tune your WordPress blog speed and performance by setting a correct WP_MEMORY_LIMIT in your wp-config.php file. Here is how:

Lees verder

Ease WordPress Plugin updates by clearing PHP opcode caches first

WordPress updates, like Core-, plugin- and themes, sometimes fail because of enabled PHP opcode caches. Popular PHP opcode caches are OPcache, WinCache and APC. Flushing these opcode caches first eases the WordPress update process. And here is a Must Use Plugin to flush OPcache cache

Lees verder

Create smaller WP-Super-Cache supercache files

Currently, Vanilla-WP runs with WP-Super-Cache enabled, and my abandoned Database Cache disabled. The fun part of WP-Super-Cache as caching plugin is, it allows the usage of plugins. Yes, a plugin for a plugin 🙂 . One of those plugins is WPSCMin, by Joel Hardi.

Lees verder

“Optimize WordPress MySQL tables through Cron, behind the scenes”

Optimize WordPress MySQL tables through Cron, behind the scenes provides and describes a plugin to regularly optimize your MySQL database tables, to improve WordPress performance.

Lees verder

© 2020 Vanilla WP

Thema gemaakt door Anders NorenBoven ↑

Skip to content

52 queries, took 1,188 seconds running PHP version 7.3.13