Oliver Baltzer wrote: > I agree and support the idea of generally redirecting URLs without a > trailing slash to URLs with trailing slash. I know it is easily done > with every Web server in front of Radiant, but I think this should be > part of Radiant. My only concern about generally enforcing this is that > other document types (images, PDFs, etc.) end up with a trailing slash > as well. Some context-based redirect would solve that, by asking the > addressed page/object to redirect to its canonical URL.
I would accept a patch that implements this in the following fashion: * URLs without file extensions automatically get redirected to URLs with trailing slashes * URLs with extensions (like .css or .xml) are left alone * There is a configuration variable that turns this behavior on or off Don't forget unit tests. -- John _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
