DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:robot404

robot404 Plugin

Compatible with DokuWiki

  • 2025-05-14 "Librarian" unknown
  • 2024-02-06 "Kaos" yes
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown

plugin Send 404 (page-not-found) to webcrawlers (aka robots) for disabled actions and hidden pages

Last updated on
2024-09-20
Provides
Action
Repository
Source

Similar to nftr

Tagged with header, meta, robots, seo, spiders

By Ahmet Sacan

I see no reason for webcrawlers to visit and index certain actions, such as login and search. The plugin configuration allows you to select which actions should be considered as disallowed for robots. Actions that are disabled in dokuwiki are already considered disallowed for robots.

Disallowed actions will produce 404 code (page not found) when the user agent is detected to be a robot. Actions that are disabled in dokuwiki normally just display a message; webcrawlers will still index the resulting page and also visit these pages again in the future.

Whether the client is a robot is determined using HTTP_USER_AGENT header. For testing purposes, you can add ?isrobot404=1 to the URL to simulate a robot visit.

Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

plugin/robot404.txt · Last modified: by 70.89.54.9

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki