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.35k stars 420 forks source link

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

Closed johnobrien closed 1 month ago

johnobrien commented 2 months 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 2 months 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.

johnobrien commented 1 month ago

Upon further reflection, I guess I don't really need it. I'll close the ticket.