How to enable Server Side Includes SSI in your .htaccess
- 11 May 2023
- 1 Minute to read
- Print
- DarkLight
How to enable Server Side Includes SSI in your .htaccess
- Updated on 11 May 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Enable Server Side Includes SSI in your .htaccess
If you are using Server Side Includes SSI in your files and it's not working, you most likely need to enable them in your .htaccess file. This can be done by performing the following steps:
Steps to enable SSI:
Find your .htaccess in your public_html and edit it with the code editor of your choice. 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 changes.
Visit your website. You should see the SSI Server Side Includes working now.
Was this article helpful?