I’m having difficulty with a part of my site (blog) which I produced in iWeb. It runs inside an iFrame on my FW produced site.
I would like to have an auto-redirect if anyone visits the page directly, i.e. so that it is not viewed without its iFrame. I’ve noticed this has been happening from my stats.
I have tried to use the following code via an html snippet/widget but it is not working. Can anyone suggest an alternative method?
An example of the pages that I would like to redirect would be :
I think the problem has been getting the code into iWeb’s head. It seems that widgets are put into some sort of frame. Perhaps it’s time to change from iWeb to something else for the blog pages.
iWeb doesn’t allow you to put code in where you want it, even via the Widgets/HTML thingy, but I found a great little tool SEO for iWeb, which will apply to an entire site in an instant.
Once I’d removed your extra little bracket it works wonderfully!