Re: [Tiki-users] Need for relative links?

Torsten Fabricius via TikiWiki-users <[email protected]> Mon, 31 Jan 2022 21:52:27 +0100
Newsgroups gmane.comp.cms.tiki.user
Message-ID <[email protected]>
Hello Volker,

I am not sure wether I understand you correctly.

You speak about page renaming alters automatically the url respectively 
the linknames to that page.

This applies only to *WikiPageNames* respectively 
*((**wikipagenames**))* and only when used within wiki links.

Relative links like *[whatevertikiobject]* and absolute links like 
*[https://example.com/sometikiobject]* are both *not* updated.

Reson to use relative links:
*[***sometikiobject*]* would make it possible to change the domain 
pointing to your website.

Given you run your site with *https://example.com* and for whatever 
reason you change to *https://newdomain.org*. After the change ...

... *[***https://example.com/sometikiobject*]* will not work anymore and 
you willbe directed to an error code, likely error 404 ressource not 
available.

but

**[***sometikiobject*]** will be directed to 
***[********https://newdomain.or*/sometikiobject*]***

in my opinion this is the main reason for relative links.

What do other users think?

Best regards,
Torsten


Am 31.01.22 um 20:34 schrieb Volker Wysk:
> Hi!
>
> I'm writing a MoinMoin-to-Tiki migration program and I'm facing a weighty
> design choice: Should I make all links absolute?
>
> My reasoning is that in Tiki, all links are updated automatically when a
> page is renamed. So there seems to be little need for relative links.
> I also had some trouble with relative links and namespaces in Tiki.
>
> So here is my question: Are there any reasons for using relative links in
> Tiki?
>
> Thanks in advance,
> Volker

_______________________________________________
TikiWiki-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-users