If you are using Server Side Includes SSI in your HTML files and they are not working, you most likely need to enable them in your .htaccess file. This article will teach you how to enable SSI Server Side Includes in your .htaccess.
Steps to enable SSI Server Side Includes
- Log into your cPanel.
- Go to your File Manager. Select the public_html directory and click Go.
Important! Make sure you have the "show hidden files" box selected before you click Go. The .htaccess file is a hidden file and will not be seen if the "show hidden files" box is not checked.
- Find your .htaccess in your public_html and edit it with the code editor.
- Paste the following code in the .htaccess towards the top of the page.
AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes
AddHandler server-parsed .html .htm
Save the changes. Visit your website. You should see the SSI Server Side Includes working now.