WordPress.org

Plugin Directory

Changeset 580375


Ignore:
Timestamp:
08/01/12 18:53:48 (21 months ago)
Author:
corvannoorloos
Message:

Set HTTP Headers.

Location:
google-xml-sitemap/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • google-xml-sitemap/trunk/google-xml-sitemap.php

    r578854 r580375  
    1212 * Description: Sitemaps are a way to tell Google about pages on your site we might not otherwise discover. In its simplest terms, a XML Sitemap—usually called Sitemap, with a capital S—is a list of the pages on your website. Creating and submitting a Sitemap helps make sure that Google knows about all the pages on your site, including URLs that may not be discoverable by Google's normal crawling process. 
    1313 * Author: Cor van Noorloos 
    14  * Version: 0.1.0 
     14 * Version: 0.1.1 
    1515 * Author URI: http://corvannoorloos.com/ 
    1616 */ 
     
    2020 * Google XML Sitemap 
    2121 * 
    22  * @since 0.1.0 
     22 * @since 0.1.1 
    2323 * 
    2424 * @global type $wpdb 
     
    3737    ORDER BY post_type DESC, post_modified DESC 
    3838    LIMIT 50000" ); 
     39  header( "HTTP/1.1 200 OK" ); 
    3940  header( 'X-Robots-Tag: noindex, follow', true ); 
    4041  header( 'Content-Type: text/xml' ); 
  • google-xml-sitemap/trunk/readme.txt

    r579342 r580375  
    20201. Unzip and upload `google-xml-sitemap` folder to the `/wp-content/plugins/` directory 
    21211. Activate the plugin through the 'Plugins' menu in WordPress 
    22 1. Visit `http://yourdomain.com/sitemap.xml` 
     221. Visit `http://yourdomain.tld/sitemap.xml` 
     23 
     24== Changelog == 
     25 
     26= 0.1.0 = 
     27Initial release 
     28 
     29= 0.1.1 = 
     30Set HTTP Headers. Some occasional errors when submitting to Google Webmaster Tools. 
     31 
     32== Upgrade Notice == 
     33 
     34= 0.1.1 = 
     35Set HTTP Headers. Some occasional errors when submitting to Google Webmaster Tools. 
Note: See TracChangeset for help on using the changeset viewer.