On the main page are passed on to all those links and add them to a parameter:
\r
$(function() { $('a[rel^="rokbox"]').each(function(){ if (this.href.indexOf('?') == -1) { this.href = this.href + '?ajax=1'; } else { this.href = this.href + '&ajax=1'; } }); });
On the server check if parameter is not ajax, then the page loaded by direct link and a redirect is needed.