All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Ticket #247 (new question)

Opened 10 years ago

Custom redirects without wildcard

Reported by: magne.ingvaldsen@… Owned by: mari@…
Priority: minor Component: 404Handler
Keywords: Cc:


If I add this custom redirect /old -> /new without the wildcard checked www.mysite.com/old redirects to www.mysite.com/new as expected. But if i try www.mysite.com/old/test it redirects to www.mysite.com/new/old/test. I see from the comment(and code) in CustomRedirectCollection that the 404 url is appended to the new url. Is this the way it should work? I expected it to redirect to www.mysite.com/new/test. I could of course add another redirect to handle this, but i was just wondering if this was "by design" :)

Note: See HelpUser/Tickets for help on using tickets.