Redirection

By BugCatch123BugCatch123

Description

This is the redirect module. It can redirect to a page on your Wikidot site, another Wikidot site or on an external site. This makes a “301 Permanently Moved” Redirection and it will tell the user’s web browser to redirect / go to another web page.

Code

[[module Redirect destination="PUT THE PAGE NAME OR URL HERE TO REDIRECT TO/"]]

In action

An example is on code:redirect made by someone else, which redirects to a blank page.

Preventing the redirect

You can prevent the redirect because it won’t be possible to edit the actual page, so here’s a solution.

Add /noredirect/true to the end of the URL of the page that was redirected from, then you can delete / remove the redirect or change the redirect.

Credits To

Credits to the Wikidot Docs, the original page is at https://www.wikidot.com/doc-modules:redirect-module


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 BugCatch123


Rate this solution

If you think this solution is useful — rate it up!

rating: 0+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License