
The .htaccess file needed for Joomla to function with SEO application running. It enables SEF, improves security and sets conical URLs among other important server-side settings. Also adding Google Page Speed Mod that enables various improvements server-side via the .htaccess file. This file must be placed in your website root folder, ensure you have a backup of the original. This file was updated to reflect updates recently made to Joomla and the .htaccess file in 2019.
Extract of the code below, please ensure your hosting solution or homebrew server supports Google Page Speed Mod.
## Google Page Speed##
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters extend_cache
ModPagespeedEnableFilters move_css_to_head
ModPagespeedEnableFilters combine_css
ModPagespeedEnableFilters collapse_whitespace
ModPagespeedEnableFilters elide_attributes
ModPagespeedEnableFilters remove_comments
</IfModule>