Posts Tagged ‘redirect’

A simple permanent (301) redirect using RedirectMatch in .htaccess

Wednesday, October 7th, 2009
RedirectMatch permanent /old-location/.* http://sub.domain.com

Related

How to detect if your site or current page has been opened in a frame (such as Google images) ?

Wednesday, March 18th, 2009

The following cool code is supposed to redirect if your site has been opened in a frame.

<script type="text/javascript" language="JavaScript">
var topLocation
try {topLocation = top.location.href; }
catch(er) { window.top.location.href = self.location.href;}
</script>

Credits: http://www.mydreamsbook.com

How did I find this ?

I was looking for Elizabeth Banks pictures :D (She's so beautiful by the way).
She is in Zack and Miri Make a Porno film which by the way I didn't like so much but that's another topic.
Related