Trying to make the URL "more applicable" to the site -- seems that "jahia" in the URL has confused some of our viewers and it does add a bit to the URL length. I was thinking of shortening the URL to simply /portal (or similar syntax) from /jahia/Jahia
-----Original Message----- From: Philippe Vollenweider [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 11:58 AM To: [email protected] Subject: RE: Friendly URLs There is some different choices: - myownnamehere can be the context name /jahia/Jahia/pid/123 -> /myownnamehere/Jahia/pid/123 if the context is myownnamehere - myownnamehere can be the servlet name /jahia/Jahia/pid/123 -> /jahia/myownnamehere/pid/123 or /Jahia/pid/123 -> /myownnamehere/pid/123 if Jahia is used as default context - myownnamehere can be the virtual site (her Jahia is used as default contexte /Jahia/site/myownnamehere/pid/123 -> /myownnamehere/pid/123 and then /myownnamehere/pid/123 -> /myownnamehere/page123.html - myownnamehere can be the page alias (using the page properies in engine) What do you plan to do? Philippe At 15.03.2005 17:47, you wrote: >On a related note, any thoughts on how (if possible) to rename: > >/jahia/Jahia > >To only > >/myownnamehere > >Or simply kill off one of the /jahia 's (by altering the WEBAPPS >folder(s) instead of using Apache) > >-- or is using rewrite rules the best way to accomplish this as well? > > > >-----Original Message----- >From: Philippe Vollenweider [mailto:[EMAIL PROTECTED] >Sent: Monday, March 14, 2005 11:06 AM >To: [email protected] >Subject: Re: Friendly URLs > >Hello, > >Actually we use apache mod_rewrite rules to rewrite the urls on >jahia.org More infos here: http://www.jahia.org/jahia/page360.html > >Basically, here are the 2 base rules: > >RewriteRule ^/jahia/Jahia/pid/([0-9]+)$ >http://%{SERVER_NAME}/jahia/page$1.html [R,L,NS] RewriteRule >^/jahia/page([0-9]+).html$ /jahia/Jahia/pid/$1 [PT,QSA,L,NS] > >Here the page http://www.myjahiasite.com/jahia/Jahia/pid/123 will be >rewrite to http://www.myjahiasite.com/jahia/page123.html > >Chers, > >Philippe > >At 14.03.2005 16:41, you wrote: > >I remember a conversation many months ago about setting up friendly > >URLs in Jahia for each page (similar to what was done at Jahia.org). > >However, I can't seem to find that thread. > > > >In any case, is there a way to set up friendly URLs in the current > >version, and, if so, how is this implemented? > > > >Thanks! > >-------=[ pvollenweider at jahia dot com ]=--------- Jahia : A >collaborative source CMS and Portal Server www.jahia.org Community and >product web site www.jahia.com Commercial services company -------=[ pvollenweider at jahia dot com ]=--------- Jahia : A collaborative source CMS and Portal Server www.jahia.org Community and product web site www.jahia.com Commercial services company
