Web Servers & Tools
How to remove index.php from url if we enter manually
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]
Enable gzip compression for PageSpeed
Find your .htaccess file in the root of your domain. This file is a hidden file but should show up in FTP clients like FileZilla or CORE. You can edit the .htaccess file with notepad or any form of basic text editor.
In this file we will set our caching parameters to tell the browser what types of files to cache
Configuring Apache to serve the appropriate headers - leverage browser caching
Find your .htaccess file in the root of your domain. This file is a hidden file but should show up in FTP clients like FileZilla or CORE. You can edit the .htaccess file with notepad or any form of basic text editor.
In this file we will set our caching parameters to tell the browser what types of files to cache
Some GIT command
Get all bracnhes
git fetch --all
To reset specifc branch
Changing the SSH Port for Your Linux Server
You can change the default SSH port for your Linux server as an added security measure.