PDA

View Full Version : for https to http redirection


howie2009
07-30-2009, 02:36 AM
lovely piece of code

<script language="JavaScript" type="text/javascript">
if (document.location.protocol != "http:")
{
document.location.href = "http://www.yoursite.com" + document.location.pathname;
};
</script>