Plugin Directory

Changeset 1593569


Ignore:
Timestamp:
02/10/2017 11:30:41 PM (9 years ago)
Author:
bjoerne
Message:

1.0.4: Remove buggy robots.txt handling

Location:
language-redirect/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • language-redirect/trunk/language-redirect.php

    r1593562 r1593569  
    55Description: Redirects from the root site of a multisite project to a language specific network site.
    66Author: Björn Weinbrenner
    7 Version: 1.0.3
     7Version: 1.0.4
    88Author URI: http://www.bjoerne.com
    99*/
     
    6363
    6464function language_redirect_is_robots_txt() {
    65     $home_path = parse_url( home_url() );
    66     $robots_rewrite = ( empty( $home_path['path'] ) || '/' == $home_path['path'] ) ? array( 'robots\.txt$' => 'index.php' . '?robots=1' ) : array();
    67     return $robots_rewrite;
     65    return false; // TODO
    6866}
    6967
  • language-redirect/trunk/readme.txt

    r1593559 r1593569  
    5151* Don't redirect robots.txt
    5252* Delete options when plugin is uninstalled
     53
     54= 1.0.4 =
     55* Remove buggy robots.txt handling
Note: See TracChangeset for help on using the changeset viewer.