Skip to content
Snippets Groups Projects
  • Ben Coburn's avatar
    f5c2808f
    rewrite export URLs · f5c2808f
    Ben Coburn authored
    This patch rewrites export urls so that robots.txt can be used
    to request that some (or all) export types are ignored by
    robots when indexing the wiki.
    
    For example:
    User-agent: *
    Disallow: _export/
    
    or for example:
    User-agent: *
    Disallow: _export/raw/
    
    Note: This rewriting is only done when $conf['userewrite'] is
    set to '1' for using the rewrite rules from '.htaccess.dist'.
    
    darcs-hash:20060405025621-05dcb-b1b5f48681f78d75d25b1e75fab79346fcc8b84e.gz
    f5c2808f
    History
    rewrite export URLs
    Ben Coburn authored
    This patch rewrites export urls so that robots.txt can be used
    to request that some (or all) export types are ignored by
    robots when indexing the wiki.
    
    For example:
    User-agent: *
    Disallow: _export/
    
    or for example:
    User-agent: *
    Disallow: _export/raw/
    
    Note: This rewriting is only done when $conf['userewrite'] is
    set to '1' for using the rewrite rules from '.htaccess.dist'.
    
    darcs-hash:20060405025621-05dcb-b1b5f48681f78d75d25b1e75fab79346fcc8b84e.gz
Code owners
Assign users and groups as approvers for specific file changes. Learn more.