Title: Stop post redirects
Last modified: August 19, 2016

---

# Stop post redirects

 *  [Azuka](https://wordpress.org/support/users/azuka/)
 * (@azuka)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/stop-post-redirects/)
 * When I have a post whose permalink is say, /2009/10/podcasts, trying to access/
   podcasts redirects to /2009/10/podcasts. Is there any way to stop this behavior
   so I can handle it as a 404?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/stop-post-redirects/#post-1338259)
 * I believe this is what you want:
 *     ```
       <?php
       /*
       Plugin Name: Disable Canonical URL Redirection
       Description: Disables the "Canonical URL Redirect" features of WordPress 2.3 and above.
       Version: 1.0
       Author: Mark Jaquith
       Author URI: http://markjaquith.com/
       */
   
       remove_filter('template_redirect', 'redirect_canonical');
   
       ?>
       ```
   
 * [http://txfx.net/files/wordpress/disable-canonical-redirects.phps](http://txfx.net/files/wordpress/disable-canonical-redirects.phps)
 *  Thread Starter [Azuka](https://wordpress.org/support/users/azuka/)
 * (@azuka)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/stop-post-redirects/#post-1338461)
 * Thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Stop post redirects’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [Azuka](https://wordpress.org/support/users/azuka/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/stop-post-redirects/#post-1338461)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
