-
I am probably missing something silly, but when I imported an existing site in to a new site instance to start changing around things and make a new layout, the pages links are not working. Using a subfolder on my web hosting and the root URL is still the same, only placed the WIP site in a randomly named subfolder. This is also reflected when previewing the site offline, pages are dead links to file:///C:/about.html instead of the OneDrive directory where they should be available for preview as the site root and Posts: OneDrive/[USER]/Publii/[WIPSITE]/preview/postabc.html This affects only standalone pages and not pages that are part of a hierarchy. A preview location has not been set in Publiis settings, it is using my Publii folder on OneDrive and it does so regardless of which computer I use, which is as intended. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
@Ainz - did you put the subfolder also under server settings in domain name? |
Beta Was this translation helpful? Give feedback.
-
Please add more informations:
|
Beta Was this translation helpful? Give feedback.
@Ainz - so it is issue with your code, not with Publii :) Such links won't work in preview and in subdirectory. You can add subdirectory name in link (but it still won't work in preview) or use
#INTERNAL_LINK#/page/[ID]
syntax :)