Changeset 1593569
- Timestamp:
- 02/10/2017 11:30:41 PM (9 years ago)
- Location:
- language-redirect/trunk
- Files:
-
- 2 edited
-
language-redirect.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
language-redirect/trunk/language-redirect.php
r1593562 r1593569 5 5 Description: Redirects from the root site of a multisite project to a language specific network site. 6 6 Author: Björn Weinbrenner 7 Version: 1.0. 37 Version: 1.0.4 8 8 Author URI: http://www.bjoerne.com 9 9 */ … … 63 63 64 64 function 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 68 66 } 69 67 -
language-redirect/trunk/readme.txt
r1593559 r1593569 51 51 * Don't redirect robots.txt 52 52 * 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.