Server-side Includes don't get included - help needed

Hi there,

my SSIs are in the Design view and the Preview mode but NOT in the Open in browser view.

I use an Includes directory and have tried to place the include in the same directory like the pages. No difference.

Any ideas what is missing here?

Thanks

Joerg

<!--#include file="includes/_header.html" -->

<main>
	<div class="row">
		<div class="col">
			<h1>Index</h1>
		</div>
	</div>
</main>
<!--#include file="footercopy.html" -->

What server model are you using?
Your server needs to have the module for serverside includes enabled for HTML Server Side Includes. Please check this topic: SSI File vs PHP Includes

Thanks for the link, Teodor,

it solved the issue. My server model is PHP. I converted the pages to PHP and now it works like a charm :slight_smile:

1 Like