Title: last-modified header
Last modified: August 19, 2016

---

# last-modified header

 *  [anjanesh](https://wordpress.org/support/users/anjanesh/)
 * (@anjanesh)
 * [17 years ago](https://wordpress.org/support/topic/last-modified-header/)
 * Where can I place the Last-Modified for posts ?
 * <?php header(“Last-Modified: “.the_modified_date()); ?>
 * Thanks

Viewing 1 replies (of 1 total)

 *  [shane-g](https://wordpress.org/support/users/shane-g/)
 * (@shane-g)
 * [17 years ago](https://wordpress.org/support/topic/last-modified-header/#post-1095240)
 * Hi,
 * If you would like to add it for the posts then you need to edit index.php file
   and inside the loop you have to add this code..
 * [http://codex.wordpress.org/The_Loop](http://codex.wordpress.org/The_Loop)
    [http://codex.wordpress.org/The_Loop_in_Action](http://codex.wordpress.org/The_Loop_in_Action)
 * Thanks,
 * Shane G.

Viewing 1 replies (of 1 total)

The topic ‘last-modified header’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [shane-g](https://wordpress.org/support/users/shane-g/)
 * Last activity: [17 years ago](https://wordpress.org/support/topic/last-modified-header/#post-1095240)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
