Description
Post Redirect info from Feb 2009 asks: “Wikimedia pages that are redirected to, show text "(Redirected from <pagename)", with a link so tht you can see the redirected page. Can the same be done here?”
In action
Here is an answer involving:
- the landing page code:redirect-to (edit it) which shows a “This page has been redirected from …” message only if having been redirected from one of the two redirection pages below
- a redirection page code:redirect-from (edit it): redirects to “redirect-to” showing an appropriate message there
- another redirection page code:redirect-from-2nd (edit it): also redirects to “redirect-to” showing an appropriate message there
Code
How the Landing Page is Coded
[[module ListPages category="code" limit="1" tag="@URL"]]
[[size smaller]]
This page has been redirected from [[[%%page_unix_name%%|%%page_unix_name%%]]]
[[/size]]
[[/module]]
[[div style="display : none"]]
[[module Redirect destination="http://snippets.wikidot.com/code:redirect-to/noredirect/true/tag/_(none)/"]]
[[/div]]
How a Redirection Page is Coded
Any redirection page must be uniquely tagged with the tag specified in below [[module Redirect ...]] call — in this case “_code:redirect-from”
[[module Redirect destination="http://snippets.wikidot.com/code:redirect-to/tag/_code:redirect-from/"]]
[[/module]]
[[div style="display : none"]]
[[module Redirect destination="http://snippets.wikidot.com/code:redirect-to/noredirect/true/tag/_(none)/"]]
[[/div]]
Rate this solution
If you think this solution is useful — rate it up! Or dump it otherwise.






Thanks Erich for such solution!
First time it is confusing - but after thinking and following your guide- Fine!
I think sometimes - all is possible on wikidot.com .. we need only people like you who think deeper into the procedural tasks happening on the server.
Service is my success. My webtips:www.blender.org, www.zusi.de (Demo-Video)
Wollen Sie Wikidot helfen im deutschen » Handbuch ?
So, if I make a wrong redirect, how can I undo that? Is it possible?
http://community.wikidot.com/help:emergency-help#toc3 !!
Service is my success. My webtips:www.blender.org, www.zusi.de (Demo-Video)
Wollen Sie Wikidot helfen im deutschen » Handbuch ?
Thank you very much, that was really helpful!