Hacker News new | ask | show | jobs
by kgbcia 1262 days ago
I agree we need an easy to reach endpoint like favicon or robot.txt for general copyright notice like creative commons or public domain. It should be a JSON utf file like domain.com/copyright.json. it will allow certain paths to have different copyright
1 comments

https://example.com/.well-known/ is the conventional place these days to store this type of meta-information.

favicon.ico and robots.txt predate this convention, so they keep littering our server root directories.

Just because they are available at example.com/robots.txt doesn't mean you need to have the actual files in /var/www/html/robots.txt, redirect rules are trivial to add in most (if not all) web server software.