User talk:Mha

From WiiBrew
Jump to navigation Jump to search

.htacess/ cfg and robots.txt

Could you change robots.txt to follow this : http://www.mediawiki.org/wiki/Robots.txt#With_short_URLs

User-agent: *
Disallow: /w/

and do you have something like this in apache or via .htaccess?

 <Directory {dir here}/w/images>
  Options +Includes -Indexes
  AllowOverride None
  Order allow,deny
  Allow from all
  # avoid execution of PHP scripts in upload directory
  <FilesMatch "\.phps?$">
   AddHandler None .php .phps
   ForceType text/plain
  </FilesMatch>
 </Directory>

to deny index listing within the /w/images directory. Google and other search engines are indexing URLs like this in search queries like chip site:wiibrew.org. I saw this problem show up in the #wiidev room

[04/14 13:17:57] <Feartec> !g chip site:wiibrew.org
[04/14 13:18:00] <Sintia> Index of /w/images/thumb/c/ce/Wiihandy-chip.jpg/ @ http://wiibrew.org/w/images/thumb/c/ce/Wiihandy-chip.jpg/

LoganA 18:45, 14 April 2009 (UTC)