canonical url is set to dev url #266
Notifications
Total Time Spent: 15 minutes
Due Date
fauno
15 minutes
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/docs.coopcloud.tech#266
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
i'd provide a patch but not sure how to set this on mkdocs, the config seems ok, and the template (if i found the actual source code) uses page.canonical_url but i don't know how it's generated.
this affects how search engines index the site but discovered while trying to share a page from chrome for android.
@fauno you mean you're seeing URLs with
localhost
/0.0.0.0
in the generated output of the live site?Maybe we're generating the site in dev mode when publishing? (😂)
It seems to be controlled by
site_url
which we do set.Oh shiet:
@decentral1se exactly that! nice of you to understand the issue even with the lack of context :P
Haha, i do try 😌 Thanks!
Good luck fixing it 🙃 It seems maybe a bit tricky...
You might need to build the container to test it...
I'm not sure how the building works, so far I found:
does this mean the site being deployed is the development site? i can see the cmd runs with server address:port of 0.0.0.0:8000 while my local
make
adds a canonical url of http://localhost:8000, so i think that's the culprit, but not sure if the fix would be to change the cmd on this repo's dockerfile/drone.yml@decentral1se it'd be great to fix this before publishing toolshed/coopcloud.tech#53