On Sat, Apr 10, 2010 at 12:33 PM, john muhl <[email protected]> wrote: > On Sat, Apr 10, 2010 at 11:07 AM, Christian Aust > <[email protected]> wrote: >> Hi all, >> >> search engines consider URLs /some-page and /some-page/ to be two different >> pages (well, at least Google analytics does). I'd like to get rid of that. >> >> Would you expect Radiant to redirect clients to the trailing-slash-form of >> an URL, or should that be the duty of the web server above? >> >> Any comments are appreciated. Regards, > > if the issue is people manually typing or linking to your pages in > inconsistent ways then i think sticking a rewrite rule in your server > config is the easiest way. however if the issue is that your site > template uses inconsistent urls then i'd fix that first.
I second that. If you want to ensure the trailing slash use nginx or Apache or if you want that in your project, use http://github.com/jtrupiano/rack-rewrite -- Jim Gay http://www.saturnflyer.com http://www.saturnflyer.com/blog/jim/2010/04/02/commenting-in-radiantcms-with-a-gem/ _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
