if statement
<!--#if expr="\"$HTTP_REFERER\" = /abc.net.au/" -->
Content relevant to that site
<!--#elif expr="\"$HTTP_REFERER\" = /google.com/" -->
An ‘or if’ statement
<!--#else -->
this else statement is used for all other instances
<!--#endif -->
finalise the code with an ‘end statement’
More complex if statement – SSI conditional based on document URI
This depends on the URI of the document being referenced.
Latest posts by Rae Allen (see all)
- A history of ABC local radio in Brisbane – 21/07/2025
- The engineer trapped inside a farmer’s body – 11/06/2025
- Street art – January 02, 2025 at 02:13PM – 02/01/2025
Leave a Reply