1. From Apache config :
    • If you have root access of your server or SSH access then open your
      httpd.conf.
    •  To open your httpd.conf navigate: /usr/local/apache/conf/httpd.conf and add these lines of code
Copy to Clipboard

2. From htaccess :

    • Add these lines of code in your .htaccess
Copy to Clipboard