{"id":26180162,"url":"https://github.com/webvpf/wn-robots-plugin","last_synced_at":"2025-04-14T22:43:44.898Z","repository":{"id":43442423,"uuid":"511321793","full_name":"WebVPF/wn-robots-plugin","owner":"WebVPF","description":"Plugin for Winter CMS. Adds robots.txt for your site.","archived":false,"fork":false,"pushed_at":"2025-03-08T07:48:27.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T10:50:31.222Z","etag":null,"topics":["wintercms","wintercms-plugin"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/webvpf/wn-robots-plugin","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebVPF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-06T23:30:52.000Z","updated_at":"2025-03-08T07:48:31.000Z","dependencies_parsed_at":"2023-02-18T17:50:15.101Z","dependency_job_id":null,"html_url":"https://github.com/WebVPF/wn-robots-plugin","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebVPF%2Fwn-robots-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebVPF%2Fwn-robots-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebVPF%2Fwn-robots-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebVPF%2Fwn-robots-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebVPF","download_url":"https://codeload.github.com/WebVPF/wn-robots-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975303,"owners_count":21192198,"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":["wintercms","wintercms-plugin"],"created_at":"2025-03-11T21:54:43.250Z","updated_at":"2025-04-14T22:43:44.871Z","avatar_url":"https://github.com/WebVPF.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Robots plugin\n\nThis plugin adds robots.txt file for your Winter CMS site.\n\n---\n\nA `robots.txt` file is used to manage crawler traffic to your site. It tells search engine crawlers which URLs the crawler can access on your site. This is used mainly to avoid overloading your site with requests.\n\n## Getting started\n\nUse composer to install the plugin:\n\n```bash\ncomposer require webvpf/wn-robots-plugin\n```\n\n## Editing robots.txt\n\nIn the backend of your application, go to settings and select `Robots.txt`. When filling out the rules, you can use Twig.\n\nAn example of filling robots.txt:\n\n```twig\nUser-agent: *\nAllow: /\nSitemap: {{ 'sitemap.xml'|app }}\n```\n\nor\n\n```twig\nSitemap: {{ url('sitemap.xml') }}\n```\n\nAs a result, robots.txt will look like this:\n\n```yaml\nUser-agent: *\nAllow: /\nSitemap: https://example.com/sitemap.xml\n```\n\n## Instructions for robots.txt\n\nFor detailed instructions on filling out the robots.txt file, see [developers.google.com](https://developers.google.com/search/docs/crawling-indexing/robots/create-robots-txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebvpf%2Fwn-robots-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebvpf%2Fwn-robots-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebvpf%2Fwn-robots-plugin/lists"}