Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Multipart robots.txt editor

Beskrivning

This plugin needs more documentation!

You can edit your robots.txt and add remote content to it.
E.g. you have several sites and want to use a centralized robots.txt.

Features

  • Include or exclude WordPress’ own robots.txt (core function)
  • Include or exclude plugins – e.g. sitemap plugins – output to robots.txt (filter output)
  • Include or exclude a remote text file (the common part)
  • Include or exclude custom records from the settings page (the site specific part)

Where is robot.txt?

WordPress handles robots.txt as a virtual URL – just the same way as posts and pages.

So when you browse to https://example.com/robots.txt WordPress generates robots.txt on the fly.

TODO

  • add more description here
  • add a video too
  • add an admin notice for subdir installs (robots.txt is useless in a subdir)
  • ’At least one ”Disallow” field must be present in the robots.txt file.’ – check for that

Links

Development of this plugin goes on on GitHub.

Installation

This section describes how to install the plugin and get it working.

  1. Upload the content of the ZIP feil to the /wp-content/plugins/ directory
  2. Activate the plugin through the ’Plugins’ menu in WordPress

Vanliga frågor

Where is robot.txt? Why isn’t it generated at WordPress root directory?

WordPress handles robots.txt as a virtual URL – just the same way as posts and pages.

So when you browse to https://example.com/robots.txt WordPress generates robots.txt on the fly.

How often will be the remote text file downloaded?

Every 24 hours and when you press the Sava Changes button on the setting page.

Recensioner

10 januari 2019
hello why it is still showing your robots.txt file even after deleted your plugin and files. I created my own robots.txt file and uploaded. Still showing your genereted file and even i deleted. Still showing why?????????
Läs alla 3 betyg

Bidragsgivare och utvecklare

”Multipart robots.txt editor” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”Multipart robots.txt editor” har översatts till 1 språk. Tack till översättarna för deras bidrag.

Översätt ”Multipart robots.txt editor” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

0.4.0

  • After Shiny Updates (AJAX plugin actions) it was not possible to uninstall

0.3.0

0.2.2

  • Added explanation about robots.txt file – NO code change

0.2.1

  • Googlebot needs CSS and JS files
  • Introducing semver

0.2

  • Fixed some serious PHP Notices, sorry

0.1

  • Initial release