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

  1. Log into your cPanel.
  2. 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.

  3. Find your .htaccess in your public_html and edit it with the code editor.
  4. 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.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 757-416-6627 Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}