|Specifying the link to the official website for a feature.|
|Used on these elements|
|Status: de facto|
|Tools for this tag|
The website=* tag can be used to provide the full URL to the official website for the related features, be it a building, park railway or anything else.
For small format websites (designed for smaller displays, reduced bandwidth, or mobile touchscreens) one may in addition add website:mobile=*.
Websites URL usually follow this syntax :
http(s)://(www.)domain.tld/(page)(?parameters)(#anchor), where parts in parenthesis may be optional.
https://www.openstreetmap.org/help would be a good website URL. Its format is valid, it's a direct link to the wanted resource and a trustworthy website.
|website:stock||URL||Used to link to URL with "live" stock information of e.g. a shop or pharmacy|
|website:map||URL||Used to link to external maps e.g. in route relations.|
|website:booking||URL||Used to link to booking website.|
|user defined||URL||All commonly used values according to Taginfo.|
- Use as short a URL as possible. Choose simple URLs over complex URLs if they basically point to the same content. For example, use https://bahn.de/ instead of
https://www.bahn.de/p/view/index.shtml, as both will get you to the front page. Websites are frequently redesigned, so strive for the most "robust" URL that works.
- Include the scheme (http or https). https://www.openstreetmap.org/, not
- Don't use URL shorteners. URLs such as https://goo.gl/x1fz3h can be misleading as they hide the real URL, can contain advertisements or even malware.
- Take care when copying links from a search engine result. Search results URLs hide information about the final destination of the link, and are not meant for permanent linking. A very bad example would be
- Use the HTTPS version when available, as it enhances security and privacy for users. E.g.: https://openstreetmap.org/ instead of
- Pages on social media are fundamentally not websites. You can use contact keys for that: contact:mastodon, contact:facebook, contact:twitter…
- RFC 1738 section 2 generic URL syntax
- RFC 1738 section 3.1 common Internet scheme syntax - the definition of the http and https URL schemes base on this
- RFC 1738 section 3.3 The http URL scheme
- RFC 2818 section 2.4 The https URL scheme
- Key:contact - The contact:* namespace with contact:website=* (newest parallel existing tagging scheme, provides same tag arrangement in groups like addr:*=*)
- url=* - A more general tag. Any URL other than the main official one used in the website=* tag (parallel existing tagging scheme)
- wikipedia=* Links towards wikipedia articles.
- Proposed features/External links - different tagging ideas
- Key:website:stock - Stock information related to a feature.