aemsites / 888de

Apache License 2.0
0 stars 0 forks source link

Footer relative links issue. #116

Closed rafim888 closed 6 months ago

rafim888 commented 6 months ago

On 888.de footer we have links to internal pages, the links on our current site are relavative. We change some of the footer links,

image

in the EDS site (https://main--888de--aemsites.hlx.live/ >> https://eds-www.888.de/) to be relative (in the file https://888holdings.sharepoint.com/:w:/r/sites/888-eds/_layouts/15/Doc.aspx?sourcedoc=%7B41AAFAA0-8CB6-4BD6-BFD7-D88305688342%7D&file=footer.docx&action=default&mobileredirect=true , share point), with editing the link via Word’s widget, but it does not accept relative links

image

originally inserted: “/banking/”. When the footer was published via (Sidekick), the link was removed from the source code, this is what I get in “inspect element”

Both https://main--888de--aemsites.hlx.live/ & https://eds-www.888.de/ Is there a way to change links to relative ?

helms-charity commented 6 months ago

Hi @rafim888 , the Edge Delivery Service (formerly known as "Franklin") is smart, and should be automatically handling links that are entered using the project branch + hlx.page URL, and showing as relative on the published page. I will have a look at our 888 footer to see what's happening.

Here's an example from a previous project: image

helms-charity commented 6 months ago

I had a quick look, I am seeing the local paths on https://eds-dev-www.888.de/ where I edited (see screenshot).

image

I do see an extra word on the 1st link, but I am thinking it might be because you have it open and are currently editing...?

image

rafim888 commented 6 months ago

10x Charity. all clear now