--
View this message in context: http://plone.293351.n2.nabble.com/relative-links-tp6067079p6067079.html
Sent from the Non-profits & NGOs mailing list archive at Nabble.com.
_______________________________________________
NGO mailing list
N...@lists.plone.org
https://lists.plone.org/mailman/listinfo/ngo
On 26 February 2011 07:14, jpeter <jp...@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