Re: Restrict access to a static page until logged in.
use an if statement
{if $login ne ''}
the static page
{else}
the page to display when logged in
{/if}
and disable hotlinking using htaccess
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?your-domain.com/.*$ [NC]
RewriteRule \.(thefileextension|theotherfileextension)$ - [F]
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
|