View Shtml Link May 2026

If you have a specific topic or page you want to link to, you would replace url with the actual URL or path to that page and Link Text with the text you want to display.

<a href="/about.shtml">About us</a>
<!--#include virtual="/shared/header.html" -->
<p>Welcome to our about page.</p>
<!--#include virtual="/shared/footer.html" -->
<!-- On the page -->
<h2 id="section1">Section 1</h2>
<!-- In your link -->
<a href="#section1">Go to Section 1</a>

Or linking to a different page:

<a href="page.html#section1">Go to Section 1 on Page</a>

On Apache, you can enable SSI for .shtml files using an .htaccess file or virtual host config: view shtml link

AddType text/html .shtml
AddHandler server-parsed .shtml
Options +Includes

On Nginx, you’d use the ssi module with ssi on; inside the location block. If you have a specific topic or page

| Symptom | Likely Cause | Solution | | :--- | :--- | :--- | | Raw code visible | Server not parsing .shtml | Enable SSI in .htaccess or IIS settings | | 404 Not Found | The .shtml file doesn't exist | Check the file path; remember it is case-sensitive on Linux | | 500 Internal Error | Syntax error in directive | Check for missing quotes or spaces: virtual= must be exact | | Includes not working, rest loads | Incorrect file path inside the include | Ensure the target file exists where the virtual path says | | Page loads forever | Nested infinite include loop | Check if header.shtml includes main.shtml | Go to Section 1 on Page&lt