@Edent of course, this only works if the URL has no path after the origin, or if the server treats paths as case-insensitive. So test the code before printing it on a card/poster/something else.