[daisy] [JIRA] Created: (DSY-570) Make redirection from <site-name>
to <site-name>/ more intelligent
Bruno Dumon (JIRA)
issues at cocoondev.org
Fri Oct 12 01:59:18 CDT 2007
Make redirection from <site-name> to <site-name>/ more intelligent
------------------------------------------------------------------
Key: DSY-570
URL: http://issues.cocoondev.org//browse/DSY-570
Project: Daisy
Type: Improvement
Components: Frontend (wiki)
Reporter: Bruno Dumon
Priority: Minor
Fix For: 2.2
Currently the sitemap.xmap contains the following redirect:
<map:match pattern="*">
<map:redirect-to uri="{1}/"/>
</map:match>
Its purpose is that if one enters the sitename without trailing slash, one is still redirected to the site. However, it has the important disadvantage that if one requests a non-existing top-level resource, one will get the confusing message "There is no site called '....'".
We could make the redirect more intelligent by first checking with the site manager if there is a site with such name. In that case, it could also redirect immediately to the site home page, which saves an additional redirect.
This issue was brought up in this thread:
http://lists.cocoondev.org/pipermail/daisy/2007-October/007730.html
about the favicon.ico, so might make sense to add a favicon.ico? Maybe some others like robots.txt?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the daisy
mailing list