[pmwiki-users] includeurl and redirection

Hans design5 at softflow.co.uk
Sat Aug 15 09:03:42 CDT 2009

Saturday, August 15, 2009, 2:25:28 PM, adam overton wrote:

> i've a quick question related to (:includeurl:).
> is there a way to prevent redirection to external sites?
> i've noticed that when trying to include external pages, some of them
> automatically redirect to the actual site. for instance placing  
> (:includeurl http://nytimes.com :) on a page automatically redirects  
> to http://nytimes.com.
> i'd like to prevent this from happening, and perhaps return an error  
> message instead.
> can this be done?

I think some sites use mechanisms which detect if they are loaded in
an iframe or as object in another site's page, and automatically break
out of it. I don't think you can prevent this.


More information about the pmwiki-users mailing list