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)
- Street art August 15, 2024 at 04:30PM - 15/08/2024
- Street art June 21, 2024 at 07:23PM - 21/06/2024
- Street art April 04, 2024 at 09:51AM - 04/04/2024