How to enable Server Side Includes SSI in your .htaccess
  • 11 May 2023
  • 1 Minute to read
  • Dark
    Light

How to enable Server Side Includes SSI in your .htaccess

  • Dark
    Light

Article summary

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?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence