You are here: Foswiki>Tasks Web>Item11372 (24 Dec 2014, GeorgeClark)Edit Attach

Item11372: Automatic redirect parameter in URL

pencil
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Web Site
Component:
Branches:
Reported By: GuruprasadIyer
Waiting For:
Last Change By: GeorgeClark
If you type: http://foswiki.org/Download it automatically appends "?redirectedfrom=Download.WebHome" to the URL though this is not true!

-- GuruprasadIyer - 19 Dec 2011

It's a bit of a chain of events, but when you omit the Topic name in the URL, Foswiki defaults the topic to WebHome. Then WebHome loads, and the RedirectPlugin kicks in and process the %REDIRECT{"DownloadFoswiki"}% macro. So as far as the RedirectPlugin knows, it really was redirected from WebHome.

A better solution would be to allow Foswiki to set an alternate home topic per web.

-- GeorgeClark - 20 Dec 2011
 

ItemTemplate edit

Summary Automatic redirect parameter in URL
ReportedBy GuruprasadIyer
Codebase 1.1.4 RC2
SVN Range
AppliesTo Web Site
Component
Priority Enhancement
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r3 - 24 Dec 2014, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy