Server Side Includes (SSI)

Common SSI codes you might find useful:


<!--#echo var="HTTP_REFERER" --> referring URL
<!--#echo var="REMOTE_ADDR" --> visitor's IP address
<!--#echo var="REQUEST_URI" --> requested URL
<!--#echo var="HTTP_HOST" --> server name
<!--#echo var="HTTP_USER_AGENT" --> visitor's browser
<!--#echo var="REDIRECT_STATUS" --> redirect status code
<!--#echo var="DATE_LOCAL" --> visitor's date and time
<!--#include virtual="path/file.ext" --> file include


Note: rename your html pages to shtml if you use SSI


  • 22 Users Found This Useful
Was this answer helpful?

Related Articles

Is it a problem if I'm not in the US?

Not at all! In fact, we already have customers in countries all over the world.

I uploaded my page but it's not working!

Make sure that you are uploading to the public_html or www folder.  Only the files placed...

What is an error 404 page?

Error 404 indicates that you are requesting a file or a directory that does not exist on the...

Can I run scripts like Wordpress, Joomla, or phpBB on my site?

Absolutely! We make it extremely easy to install over 250 different scripts via the Softaculous...

Can I upgrade my plan or features later?

Upgrades/Addons are available to purchase at any time through your Client Area dashboard. Once...