By James Kanjo
|url||yes||valid URL or website address||none||Specifies the URL to redirect the user to|
|mode||no||default, advanced||default||Specifies method of iframe generation|
“Advanced Mode” merely uses Wikidot's HTML block to generate the iframe Redirect. This might be required for certain use cases. The iframe Redirect is incompatible within Wikidot modules when used in “Advanced Mode”, and therefore “Advanced Mode” is not recommended.
If you don't want the page to redirect elsewhere, simply add /noredirect/true to the URL, and you won't be redirected.
[[include :snippets:redirect |url=http://www.wikidot.com ]]
Alternatively, you may like to code the iframe redirect manually:
[[iframe http://snippets.wdfiles.com/local--code/code:iframe-redirect#URL ]]
Where the word URL is where you would place the URL of your destination page… the page you want the user to be redirected to.
Thanks to tsangk for this great snippet: conditional-blocks
text above inserted with:
[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]
Other snippets posted by James Kanjo
Extended NewPage Module - 11 Dec 2012 20:42
Per Category CSS Module - 06 Mar 2012 03:38
Video Player - 16 Feb 2012 01:50
Specific Users Only Include - 16 Feb 2012 01:43
Remove Duplications - 16 Feb 2012 01:39
RegExp Date Wizard - 16 Feb 2012 01:39
"Random Page!" link - 16 Feb 2012 01:35
Quoted Blockquotes - 16 Feb 2012 01:33
NewPage Button - 16 Feb 2012 01:26
MP3 Player - 16 Feb 2012 01:25
iframe embed - 16 Feb 2012 01:08
Random Page - 18 May 2011 09:50
Redirect - 11 Feb 2010 10:00
Rate this solution
If you think this solution is useful — rate it up!