Sunday, 30 March 2008

Link to outside a framed redirect

I linked to the holding page for my consultancy site, WilSys.co.uk. let me explain the current hosting setup

WilSys.co.uk is hosted at cawilson.is-a-geek.com thanks to dynDNS.

this blog, caWilson.co.uk is also hosted on the same server at cawilson.is-a-geek.com

so i set WilSys.co.uk to redirect to my / and caWilson.co.uk to /blog. since WilSys.co.uk is still under construction and as such has no real content i linked to this blog.

the next task was to escape the framed redirect for WilSys.

it is insanely easy.
so instead of putting
<a href="http://cawilson.co.uk">Craig Wilsons Blog</a>

insert "target=_top" into the a href section so it looks like
<a href="http://cawilson.co.uk" target=_top>Craig Wilsons Blog</a>

right, next job is to write a new skin for this blog cause i really hate this one.

~CW~
edit: just to note my setup is different now so whats being said about the hosting is no longer applicable.