relative links

2 views
Skip to first unread message

jpeter

unread,
Feb 26, 2011, 2:14:15 AM2/26/11
to n...@lists.plone.org
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?
Thank you in advance.

--
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

Martin Aspeli

unread,
Feb 26, 2011, 8:42:05 AM2/26/11
to A list for NGOs (Non-Governmental Organizations) using Plone., jpeter
Hi,

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

Reply all
Reply to author
Forward
0 new messages