GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.19k stars 415 forks source link

[Feature Request]: Support "Use relative URLS" and setting a website URL #1690

Open johnobrien opened 1 week ago

johnobrien commented 1 week ago

Feature Description

Some of the features (like the "Visit your website" button after synchronizing your site) don't work unless a website URL is set in Server settings, but server settings doesn't support setting both a website URL and using relative URLs. I'd like to be able to use relative urls, so that the links on the site are relative, and also set the website URL, so features like the "Visit your website" button work properly.

bjazmoore commented 1 day ago

What is the benefit you see from using relative URL's? The note for using relative URL's says: "while using relative URLs, some features like Open Graph tags, sitemaps, RSS feeds, JSON feeds etc. will be disabled." That sitemap is pretty important if you plan to have your website added to the search console.
Please explain the use case.