Page MenuHomePhabricator

MediaWiki:Robots.txt has no effect on pl.wikimedia.org
Closed, ResolvedPublic

Description

Author: danny.leinad

Description:
The content of http://pl.wikimedia.org/wiki/MediaWiki:Robots.txt does not seem to show up at http://pl.wikimedia.org/robots.txt. It is probably similar to bug22040.


Version: unspecified
Severity: normal

Details

Reference
bz28229

Related Objects

StatusSubtypeAssignedTask
OpenFeatureNone
ResolvedNone

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:32 PM
bzimport set Reference to bz28229.

Assigning to JeLuF, he fixed this last time.

pdhanda wrote:

Adding RobH to the cc. He is going to make this change.

jeluf wrote:

Fixed.

Index: wikimedia.conf

  • wikimedia.conf (revision 24)

+++ wikimedia.conf (working copy)
@@ -72,6 +72,9 @@

  1. Stats RewriteRule ^/stats(/(.*$)|$) http://wikimedia.org/stats/%{HTTP_HOST}/$1 [R=301,L]

+ # Load robots.txt from the wiki
+ RewriteRule ^/robots.txt$ /w/robots.php [L]
+
</VirtualHost>