Well my friend runs a Hijab fashion website called MH Couture. For some reason Facebook decided to ban all links to her site.
So being an awesome software engineer, I figured I'd try to circumvent their ban.
First, I first tried using a URL shortner (goo.gl, tinyurl), but that didn't work.
I then tried to upload a webpage redirect using PHP by changing the header, but that didn't work.
<?php
header( "Location: http://mh-couture.com" );
?>
Finally, I used a javascript redirect, and that worked.
<script type="text/javascript">
<!--
window.location = "http://mh-couture.com"
//-->
</script>
kthanksbye
No comments:
Post a Comment