How can I enable Mod-Rewrite Module?
You can edit the .htaccess file using with the File Manager in cPanel, or via FTP.
destination source:https://www.siteground.com/kb/how_can_i_enable_modrewrite_module/
You can enable mod_rewrite by adding the following line in the .htaccess file of your website:
RewriteEngine On
After that line you should place your custom rewrite rules.
For example if you wish to redirect your domain to an HTTPS connection you should place the following lines in your .htaccess file:
1 2 3 | RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://yourdomain.com/$1 [R=301,L] |
You can edit the .htaccess file using with the File Manager in cPanel, or via FTP.
You find this article useful? Click here to learn more about joombig template and extension experts and what else we can do for you!
Related Article
destination source:https://www.siteground.com/kb/how_can_i_enable_modrewrite_module/