Redirection

By BugCatch123 BugCatch123

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
page revision: 1, last edited: 31 Dec 2024 03:30
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).

AltStyle によって変換されたページ (->オリジナル) /