relative links

Martin Aspeli optilude+lists at gmail.com
Sat Feb 26 13:42:05 UTC 2011


Hi,

On 26 February 2011 07:14, jpeter <jpet at cs.elte.hu> wrote:
> I'm just starting use Plone, my question might be easy to answer.
> As far as I can see Plone uses absolute URLs everywhere. I can add relative
> URLs, but if I create a new page, a new event, etc., then they have absolute
> URLs on other automatically generated inner pages. Is there any way to
> convert these URLs to relative paths? Is there any setting possibilty where
> only a checkbox changes this default setting?

You may find the plone-user list a better place to ask questions like
this, or the new Stackoverflow forum that we're trialling
(http://stackoverflow.com/questions/tagged/plone).

To answer your question, the links are always stored relative (or
using UIDs if you enable this, so that links never break even if the
target page is moved), but they are converted to absolute links when
the page is rendered. You shouldn't worry about this - even if you
move your site, Plone will always render the correct link.

Martin



More information about the NGO mailing list