Beschrijving
WordPress bevat standaard een eenvoudig robots.txt bestand dat dynamisch wordt gegenereerd vanuit de WP toepassing. Dit is geweldig, maar hoe verander je de inhoud gemakkelijk?
Enter WP Robots Txt, a plugin that adds an additional field to the “Reading” admin page where you can do just that. No manual coding or file editing required!
Simply visit https://your-site.com/wp-admin/options-reading.php and you can control the contents of your https://your-site.com/robots.txt
Installatie
- Download de plugin
- Pak het uit
- Upload de uitgepakte map naar de
wp-content/pluginsfolder. - Activeer en geniet!
Of je kunt het gewoon installeren via de plugin installatie in het beheergebied.
FAQ
-
Ik heb mijn `robots.txt` bestand helemaal verprutst. Hoe kan ik de standaardversie terugzetten?
-
Verwijder alle inhoud uit het veld robots.txt inhoud en sla de privacy opties op.
-
Kan ik per ongeluk alle zoek robots blokkeren met dit?
-
Ja. Wees voorzichtig! Dat gezegd hebbende,
robots.txtbestanden zijn suggesties. Ze blokkeren bots niet echt, maar ze suggereren eerder dat bots bepaalde delen van een site niet moeten crawlen. Daarom staat er op de pagina met Privacy instellingen “Vraag zoekmachines om deze site niet te indexeren”. -
Does discouraging search engines change robots.txt?
-
No. Since WordPress 5.3 that setting adds a
noindexmeta tag. It does not addDisallow: /torobots.txt. Your saved rules are still served. AddDisallow: /yourself if you want crawlers to skip the site. -
Why is my edited robots.txt not used?
-
WordPress only serves the virtual
robots.txtwhen there is no physicalrobots.txtfile in the site root. Delete or rename that file to use this plugin. -
Waar kan ik meer leren over `robots.txt` bestanden?
-
Here is a general guide by Google and here is the WordPress SEO documentation.
Beoordelingen
Bijdragers & ontwikkelaars
“WP Robots Txt” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
Bijdragers“WP Robots Txt” is vertaald in 7 localen. Dank voor de vertalers voor hun bijdragen.
Vertaal “WP Robots Txt” in je eigen taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
1.3.6
- Compatibility with WordPress 7.1
- Stop HTML-escaping robots.txt output (it is text/plain; this broke URLs with
&) - Store sanitized plain text instead of
esc_html()in the option - Decode legacy HTML entities from older saved content
- Fix default
Disallow/Allowpaths on subdirectory installs (match coreadmin_url()) - Guard sitemap defaults for WordPress 5.3–5.4 and when sitemaps are disabled
- Use
esc_url_raw()for the default Sitemap line - Warn when a physical robots.txt file will override this plugin
- Keep saved rules when search engines are discouraged (WordPress does not add
Disallow: /) - Harden admin and plugin-row markup escaping
- Add
ABSPATHguards on included files
1.3.5
- Compatibility with WordPress 6.8
1.3.4
- Compatibility with WordPress 6.7
1.3.3
- Add Line Break to allow appending more rules. Thanks @flberger
1.3.2
- Add translation template
1.3.1
- Compatibility with WordPress 6.4
- WP Coding Standards compliant
1.3
- Ensure Compatibility with WP v6.3
- Increase PHP minimum required version
1.2
- Update the default robots.txt content
- Include sitemap reference
- Resolve code warnings/errors
- WP Coding Standards compliant
- Ensure Compatibility with WP v6
1.1
- Verplaatst het instellingen veld ‘officieel’ naar de lees pagina
- Algemene code opschoning
1.0
- Initiële versie

