Strange special character/Latin characters

Still no idea that why and how this happened all of sudden. But here is the 2 Solutions I found which is working: Applying anyone will work 1. Comment these two – //define(‘DB_CHARSET’, ‘utf8’) and //define(‘DB_COLLATE’, ”) 2. Use Latin1, (‘DB_CHARSET’, ‘latin1’) However, I am suspecting some attacks on our sever where blogs are hosted … Read more

wordpress ajax upload media not working

This looks like the access to admin-ajax.php is forbidden (error 403). For some reason, many security plugins are preventing access to admin-ajax.php, even with this file being essential for WordPress to work correctly. If you use some security plugin, check out if it is maybe blocking admin-ajax.php. Check if admin-ajax.php is blocked in .htaccess file … Read more

Move site root directory on debian

I would suggest following some other toturial instead of one that lacks any explanations as to the “why” like this one. Linode and digitalocean should have good toturial on how to install wordpress, and although they might not be debian specific, the once regarding ubuntu should probably be compatible with debian. To answer the question, … Read more

How to configure WordPress Database for CentOS 7

Try to disable temporarily SELinux on the web server, with the command: sudo setenforce 0 If the error disappears after disabling SELinux, re-enable it with: sudo setenforce 1 and then allow httpd to connect to a MySql server through the network with: sudo setsebool -P httpd_can_network_connect_db 1 sudo setsebool -P httpd_can_network_connect 1

Most efficient way to trigger wp-cron through system cron.

The official wordpress documentation https://developer.wordpress.org/plugins/cron/hooking-into-the-system-task-scheduler/ suggests doing it via a web request rather as per your first example rather than php CLI as per your second example. Their example uses wget, but your curl request would work just as well. I believe they are using the web request replicates the standard http requests that would … Read more