Relative URLs does not work
- This topic has 19 replies, 5 voices, and was last updated 7 months ago by .
- June 1, 2020 at 1:15 pm #2879grazer
Relative URLs does not work at least with following setup:
- GitLab Pages sync
- Domain set to Use relative URLs when domain field is autocompleted to
- ProDocs theme in use
When I use your syncing functionality to upload the webpage, all relations to assets does not work and look like this:
Double slash after a dot is the problem. If I manually change the domain to ‘.’ (leave the dot but remove the slash) end result is the same.
How can I overcome this issue?June 11, 2020 at 11:59 am #3005Tomasz Dziuda
This feature is unfortunately buggy, and we need more time to improve it as it causes many side effects due more complicated catalogs structure. I suppose that in v.0.36.1 we will temporary disable this option and we will restore it when it will work properly.July 21, 2020 at 11:55 am #3268Alex
And what is the ETA, please?
I need this feature as airJuly 30, 2020 at 2:55 pm #3298wimm
Hi. As I am unfortunatly also relying on the “relative” URL – is it safe to “downgrade” to 0.36.0 and export the site?July 30, 2020 at 3:04 pm #3299Alex
it never worked as it shouldJuly 30, 2020 at 3:07 pm #3300wimm
I know – but so far it was sufficient … anyways … I installed the 0.36.0 on another machine … works. thanks.July 30, 2020 at 3:09 pm #3301Alex
I know – but so far it was sufficient … anyways … I installed the 0.36.0 on another machine … works. thanks.
How you made it work? It never worked for me.
Hm.. it was working on the same machine, but try to move the output folder on other machine and run, is it still working?July 30, 2020 at 5:51 pm #3302Tomasz Dziuda
The relative URLs can properly work if you are not using any subdirectories (e.g. pretty URLs), but the problems begin when you go e.g. to the tag page. The issue is quite big and needs a bigger rewrite in the rendering engine. At this moment we have no ETA for that, but we will try to bring back this feature in v.0.37 or v.0.38.August 3, 2020 at 9:08 am #3333Alex
Damn it 🙁
Bought ProDocs theme and cant use it as it was plannedAugust 3, 2020 at 4:30 pm #3335Tomasz Dziuda
@Alex – to be honest – it is also an important issue for us, but it also requires a lot of work, that’s why I cannot specify how fast I will solve this problem. I will try to do my best and solve it in v0.37 if possible.August 4, 2020 at 9:04 am #3339wimm
Thank you! Looking forward!August 4, 2020 at 9:05 am #3340Alex
thank you a lotAugust 12, 2020 at 11:47 am #3393Alex
@Alex – to be honest – it is also an important issue for us, but it also requires a lot of work, that’s why I cannot specify how fast I will solve this problem. I will try to do my best and solve it in v0.37 if possible.
Tomasz? Please apox timeframe for the fix?
I need to move forward somehow with the work i have. Maybe Grav plus Static plugin is the wayAugust 14, 2020 at 5:51 pm #3407Tomasz Dziuda
@Alex – I think that I have finally found a way to implement relative URLs in Publii without rewriting whole rendering engine 🙂
Which OS are you using? I do hope that in the weekend I will finish implementation and then I can provide you a prerelease version to test this feature 🙂August 18, 2020 at 8:27 am #3563Alex
Great news 🙂 Thank you
I have both here, mac and windowsAugust 25, 2020 at 9:10 am #3619Tomasz Dziuda
@Alex – sorry for the delay but I have to finish few features to make the prerelease version usable.
You can download prerelease of v.0.37 here: https://cdn.getpublii.com/prerelease/Publii-0.37.0.dmg – this version restores the “Use relative URLs” switcher under server setttings.
If you will find any problems with relative URLs – feel free to report me them.August 28, 2020 at 7:19 am #3645Alex
Do you also have Windows version built?October 13, 2020 at 2:25 pm #4086zongmeng
windows v.0.37.1 (build 13792) beta
the issue still there.
Rendering process failed
An error occurred during rendering process:
Invalid count value
You must be logged in to access attached files.October 13, 2020 at 2:26 pm #4088zongmengOctober 13, 2020 at 3:33 pm #4099
- You must be logged in to reply to this topic.