We do support Round the Clock 24 x 7 x 365 (+91) 883 012 3924
 

Category: CloudLinux

Remove .html extension with the help of .htaccess file

If you want user-friendly URLs on your site and hide .html extension then this post is useful for you. Please follow below steps to hide .html file extensions : # Open .htaccess file and add below rewrite rules RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.html [NC,L] Now…

How to Reduce WordPress Admin Ajax Server Load

Sometimes wordpress admin Ajax script creates load on the server. WordPress Heartbeat API was introduced in WordPress 3.6 version. The WordPress Heartbeat API uses wp-admin/admin-ajax.php to run AJAX calls from the browser. The purpose of this API is to improve user session management, auto-saving, revision tracking. However, sometimes it causes…

Fix : HTTP Error 404 – Not Found errors in yum on Cloudlinux Server

  If you get 404 Page Not found errors while installing or updating any applications with yum like as below http://repo.cloudlinux.com/kernelcare/7.4/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 – Not Found http://repo.cloudlinux.com/other/cl7.3/mysqlmeta/cl-mariadb-10.1/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 – Not Found Please comment out the following line in /etc/yum.conf : distroverpkg=cloudlinux-release You can run…

How to Safely Change the Location of MySQL Data Directory on cPanel/WHM CloudLinux Servers

1. Make a full mysqldump file # mysqldump –opt -uroot -proot_password > /tmp/mysqldump 2. Uncheck monitor in WHM > Service Manager for Mysql and save the area 3. Stop MySQL service # /etc/init.d/mysql stop 4. Ensure that the following settings are present check file /etc/systemd/system/mariadb.service.d/homedir.conf [Service] ProtectHome=false ProtectSystem=off 5. Make…

Fix CDP r1soft error : Could not find a suitable hcpdriver module for your system

When you enter below commands to update cdp kernel module r1soft-setup –get-module OR serverbackup-setup –get-module You will get below error : Failed to find headers at `/lib/modules/3.10.0-693.11.6.el7.x86_64/build. Get module failed. Falling back to old get-module   # You need to check if you have the necessary tools to build the…