{"id":15677423,"url":"https://github.com/pfefferle/wordpress-well-known","last_synced_at":"2025-05-06T21:49:05.923Z","repository":{"id":896629,"uuid":"650479","full_name":"pfefferle/wordpress-well-known","owner":"pfefferle","description":"A plugin that enables \"Well-Known URIs\" support for WordPress (RFC 5785: http://tools.ietf.org/html/rfc5785).","archived":false,"fork":false,"pushed_at":"2021-09-14T14:34:22.000Z","size":16,"stargazers_count":14,"open_issues_count":2,"forks_count":30,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T03:22:14.052Z","etag":null,"topics":["plugin","well-known","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://wordpress.org/plugins/well-known/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":"Unmaintained","scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pfefferle.png","metadata":{"files":{"readme":"readme.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-05-06T15:14:59.000Z","updated_at":"2024-12-22T13:07:33.000Z","dependencies_parsed_at":"2022-08-16T11:20:47.961Z","dependency_job_id":null,"html_url":"https://github.com/pfefferle/wordpress-well-known","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfefferle%2Fwordpress-well-known","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfefferle%2Fwordpress-well-known/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfefferle%2Fwordpress-well-known/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfefferle%2Fwordpress-well-known/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pfefferle","download_url":"https://codeload.github.com/pfefferle/wordpress-well-known/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252776488,"owners_count":21802463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["plugin","well-known","wordpress","wordpress-plugin"],"created_at":"2024-10-03T16:09:32.226Z","updated_at":"2025-05-06T21:49:05.906Z","avatar_url":"https://github.com/pfefferle.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"=== /.well-known/ ===\nContributors: pfefferle\nDonate link: https://notiz.blog/donate/\nTags: well-known, discovery\nRequires at least: 3.5.1\nTested up to: 3.8\nStable tag: 1.0.1\n\n\"Well-Known URIs\" for WordPress!\n\n== Description ==\n\nThis plugin enables \"Well-Known URIs\" support for WordPress (RFC 5785: http://tools.ietf.org/html/rfc5785).\n\nFrom the RFC:\n\n\u003e It is increasingly common for Web-based protocols to require the\n\u003e discovery of policy or other information about a host (\"site-wide\n\u003e metadata\") before making a request.  For example, the Robots\n\u003e Exclusion Protocol \u003chttp://www.robotstxt.org/\u003e specifies a way for\n\u003e automated processes to obtain permission to access resources;\n\u003e likewise, the Platform for Privacy Preferences\n\u003e tells user-agents how to discover privacy policy beforehand.\n\n\u003e While there are several ways to access per-resource metadata (e.g.,\n\u003e HTTP headers, WebDAV's PROPFIND [RFC4918]), the perceived overhead\n\u003e (either in terms of client-perceived latency and/or deployment\n\u003e difficulties) associated with them often precludes their use in these\n\u003e scenarios.\n\n\u003e When this happens, it is common to designate a \"well-known location\"\n\u003e for such data, so that it can be easily located.  However, this\n\u003e approach has the drawback of risking collisions, both with other such\n\u003e designated \"well-known locations\" and with pre-existing resources.\n\n\u003e To address this, this memo defines a path prefix in HTTP(S) URIs for\n\u003e these \"well-known locations\", \"/.well-known/\".  Future specifications\n\u003e that need to define a resource for such site-wide metadata can\n\u003e register their use to avoid collisions and minimise impingement upon\n\u003e sites' URI space.\n\n== Changelog ==\n\n= 0.6.2 =\n\n* bug fix\n\n= 0.6.0 =\n\n* refactored the code\n\n= 0.5.1 =\n\n* fixed some php-warnings\n\n= 0.5 =\n\n* better action/filter\n\n= 0.4 =\n\n* some improvements for host-meta (jrd)\n\n= 0.3 =\n\n* adding well-known uris a bit more wordpress-like\n\n= 0.2.1.1 =\n\n* Ooops, copy\u0026paste bug\n\n= 0.2.1 =\n\n* Forgot to flush the rewrite rules\n\n= 0.2 =\n\n* Better doku\n\n= 0.1 =\n\n* Initial release\n\n== Installation ==\n\n1. Upload the `well-known`-folder to the `/wp-content/plugins/` directory\n2. Activate the plugin through the *Plugins* menu in WordPress\n3. ...and that's it :)\n\n== Frequently Asked Questions ==\n\n= How can I define a well-known uri? =\n\n\nSet a callback for an URI (/.well-known/robots.txt). The action is a combination of `well_known_` and the file-name, in this case the hook must look like\n\n`add_action('well_known_robots.txt', 'robots_txt');`\n\n\nPrint robots.txt:\n\n\n`function robots_txt($query) {\n  header('Content-Type: text/plain; charset=' . get_option('blog_charset'), true);\n  echo \"User-agent: *\";\n  echo \"Allow: /\";\n\n  exit;\n}`\n\n= Is there an implementation where I can write off? =\n\nYes, you can find an example plugin, which defines a well-known-uri,\nhere: http://wordpress.org/extend/plugins/host-meta/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfefferle%2Fwordpress-well-known","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpfefferle%2Fwordpress-well-known","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfefferle%2Fwordpress-well-known/lists"}