How to enable Server Side Includes (SSI) in your .htaccess
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.
Was this answer helpful?
This is a common easily overlooked mistake thats easily corrected. Your script was probably...
You must upload your website content into 'public_html' folder, and there must be an 'index' file...
There are several reasons your images may not be showing up on your web page. 1) You haven't...
Not necessarily. There are few things you must know ; 1) If you have continuously keyed-in wrong...