Tag: .htaccess

GZIP-Compression

How to enable GZIP compression

Hello, friends, today’s topic is how to enable GZIP compression on your web server. If you know what GZIP is and how to enable it, that’s good. But if you don’t, please read this tutorial till the end. What is GZIP Compression? GZIP is a file format and software application used to compress and decompress website files. It works by compressing files like HTML, stylesheets, and JavaScript. Enabling GZIP compression is one of the easiest and most effective ways to

Continue Reading
php_value memory_limit 512M

Increase WordPress Memory Limit using .htaccess

If you don’t have access to the php.ini file, don’t worry! You can easily increase the PHP memory limit via the .htaccess file. Just copy and paste the following code into your .htaccess file to increase the memory limit. To increase the memory limit, simply add the following line to your .htaccess file, which is usually located in the root directory of your website: If you already have this code and nothing will change then try… Adding this snippet will

Continue Reading
htaccess-http-https

HTTP to HTTPS Redirection Automatically Using .htaccess and web.config

Hello Friends, Today we will learn about “How we can redirect visitors to our HTTP website to HTTPS“. If you have an SSL Secure Certificate installed on your website, you can easily redirect visitors to the secure version of your website(HTTPS) automatically. First, we have to know where your website is hosted. Linux & cPanel If you don’t have an .htaccess file in the root directory of your website, then you have to create a new file. If you don’t

Continue Reading