[opencms-dev] Append trailing slash to folder URL

Yves Glodt yg at mind.lu
Thu Nov 4 22:21:45 CET 2010


Maybe urlrewrite or mod_rewrite can help you?

-
Sent from my Android
On Nov 4, 2010 5:19 PM, "Paul-Inge Flakstad" <flakstad at npolar.no> wrote:
> Good evening lads and ladies,
>
> I'd like to redirect requests to folder resources with no trailing slash
to the same URL, but with the trailing slash.
>
> E.g. a request to
> http://www.mysite.com/en
> Should be redirected to
> http://www.mysite.com/en/
>
> OpenCms does not do this automagically, and the fact that the same
resource is served from both URLs can cause problems in terms of SEO
(duplicate content).
>
> Would appreciate any solutions, or even just a pointer. Can't imagine I'm
the first to face this problem. Did I overlook something basic?
>
> All the best,
> Paul
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20101104/2754b23b/attachment.htm>


More information about the opencms-dev mailing list