Shared Hosting

html files does not display php code – cPanel

If PHP script is not working in your HTML file then don’t worry, Here is a simple solution which can fix your problem without using php.ini files and sometimes php.ini does not change anything. Paste this code in your .htaccess of your root folder like /home/username/public_html/.htaccess AddHandler application/x-httpd-ea-php56 .htm .html .shtm Change PHP version according […]

How to ban bad bots in .htaccess?

Many cowling bots are bad for your website or maybe you want to ban some bots so they can’t access your website. You need to create a .htaccess file in your root directory like /public_html/.htaccess or /public_html/somefolder/.htaccess Note: If you will use .htaccess in sub-folder then it will work only on your specific directory and […]

Scroll to top