kbadmin has written 149 articles

How to clean my files from malicious code?

If your website has been hacked and malicious content has been inserted into your files, you should clean them as soon as possible to prevent further damage to your hosting account. Let’s say that the following code has been inserted to some of your files: <?php eval(base64_decode(‘malicious_code’)); ?> You have to search in all of…

Hacked Website?

The most common reasons for a hacked (defaced) website include: – Outdated web application. Every popular web application (Joomla, WordPress, PhpBB…)  has had security problems and that’s why you have to use always the latest version. – Outdated web application extension. If you have installed any third party extensions, you have to keep them up-to-date…

How to compress my CSS with gZIP?

To compress your CSS files with gZIP there are two things that you should do. First, add the following line to the .htaccess file in your public_html folder: AddHandler application/x-httpd-php52 .css By doing this, you allow the server to process .css files through PHP. Next, add the following lines at the very beginning of your .css file(s): <?php…

How to enable gZIP compression for your pages in Joomla

The gZIP compression of your files improves the performance of your website and highly decreases its loading time. For complex websites it is highly recommended to enable it. Some applications have internal support to compress their pages. For example, in Joomla you can turn on the gZIP compression from Global Configuration > Server > gZIP Page…

How do I start and stop MySQL?

If you need to start, stop, or restart MySQL, follow the instructions below. Make sure that you’re first authenticated in your server via the command line interface. You can access the command line through popular applications such as PuTTY. Red Hat Linux & CentOS Start MySQL: /etc/init.d/mysqld start Stop MySQL: /etc/init.d/mysqld stop Restart MySQL: /etc/init.d/mysqld…

How to Install Config Server Firewall (CSF) For cPanel/Whm?

You should have basic knowledge on accessing SSH to proceed any further. Read the PuTTY Setup And SSH Access article for assistance in setting up PuTTY / SSH access. Follow the instructions provided to install ConfigServer on your WHM/cPanel based server. Login to SSH. If you have any other iptables based firewalls, uninstall them now, otherwise you…