RE: Friendly URLs

Philippe Vollenweider <[email protected]>
Newsgroups gmane.comp.cms.jahia.install
Message-ID <[email protected]>
OK, but do you plan to use apache as front-end or not? If not, you can 
simply use Jahia as root context, then change the servlet name to "portal"

Philippe

At 15.03.2005 18:08, you wrote:
>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

-------=[ 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.