WordPress.org

Plugin Directory

Changeset 623907


Ignore:
Timestamp:
11/12/12 07:14:58 (17 months ago)
Author:
solarissmoke
Message:

Mention wp_410_response hook in readme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-410/trunk/readme.txt

    r604463 r623907  
    2020= Can I customise the 410 response message? = 
    2121 
    22 The default message is a simple plain text message that reads "Sorry, the page you requested has been permanently removed." This is because many people want to minimise the bandwidth that is used by error responses. If you want to customise the message, just place a template file called `410.php` in your theme folder, and the plugin will automatically use that instead. Take a look at your theme's `404.php` file to see how the template needs to be structured. 
     22The default message is a simple plain text message that reads "Sorry, the page you requested has been permanently removed." This is because many people want to minimise the bandwidth that is used by error responses.  
     23 
     24If you want to customise the message, just place a template file called `410.php` in your theme folder, and the plugin will automatically use that instead. Take a look at your theme's `404.php` file to see how the template needs to be structured. You can also hook into the `wp_410_response` action to trigger any specific events for queries resulting in a 410 response. 
    2325 
    2426== Changelog == 
Note: See TracChangeset for help on using the changeset viewer.