Title: Posts Work No Matter URL
Last modified: August 19, 2016

---

# Posts Work No Matter URL

 *  [chatyak](https://wordpress.org/support/users/chatyak/)
 * (@chatyak)
 * [16 years ago](https://wordpress.org/support/topic/posts-work-no-matter-url/)
 * I have a big problem and I have no idea what to do.
 * No matter what I type in the address bar for a category, my posts will still 
   display perfectly.
 * For example, let’s say the correct URL was:
 * domain.com/category/post.html
 * Well, if I typed these into the browser, they would also work:
 * domain.com/retert/erterst/rtyrsysrtycategory/post.html
 * domain.com/category/weaf/tarewar/wtf/post.html
 * Basically I am not getting a 404 when I should be. I can type anything I want
   into the URL and the post is still working.
 * How the heck do I fix this?
 * Thank You!

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

 *  [doc4](https://wordpress.org/support/users/doc4/)
 * (@doc4)
 * [16 years ago](https://wordpress.org/support/topic/posts-work-no-matter-url/#post-1481790)
 * chatyak,
 * What is showing in the 404.php file?
 *  Thread Starter [chatyak](https://wordpress.org/support/users/chatyak/)
 * (@chatyak)
 * [16 years ago](https://wordpress.org/support/topic/posts-work-no-matter-url/#post-1481791)
 * <?php get_header(); ?>
 *  <div id=”content” class=”narrowcolumn”>
 *  <h2 class=”center”>Error 404 – Not Found</h2>
 *  </div>
 * <?php get_sidebar(); ?>
 * <?php get_footer(); ?>
 *  [dralezero](https://wordpress.org/support/users/dralezero/)
 * (@dralezero)
 * [16 years ago](https://wordpress.org/support/topic/posts-work-no-matter-url/#post-1481793)
 * WordPress will automatically find the match. It does it to me too.
 *  Thread Starter [chatyak](https://wordpress.org/support/users/chatyak/)
 * (@chatyak)
 * [16 years ago](https://wordpress.org/support/topic/posts-work-no-matter-url/#post-1481795)
 * Is there a way to remove this? Technically I could have inbound links pointing
   to made up pages, giving me thousands of duplicate articles.
 *  Thread Starter [chatyak](https://wordpress.org/support/users/chatyak/)
 * (@chatyak)
 * [16 years ago](https://wordpress.org/support/topic/posts-work-no-matter-url/#post-1481805)
 * Isn’t there a plugin or code I could paste somewhere to remove this function?
 *  [dralezero](https://wordpress.org/support/users/dralezero/)
 * (@dralezero)
 * [16 years ago](https://wordpress.org/support/topic/posts-work-no-matter-url/#post-1481810)
 * Does the url auto switch to the correct url or does it stay gibberish in the 
   address bar of browser?
 *  [dralezero](https://wordpress.org/support/users/dralezero/)
 * (@dralezero)
 * [16 years ago](https://wordpress.org/support/topic/posts-work-no-matter-url/#post-1481823)
 * Put this in your functions.php of your theme.
    remove_filter(‘template_redirect’,‘
   redirect_canonical’);

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

The topic ‘Posts Work No Matter URL’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [dralezero](https://wordpress.org/support/users/dralezero/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/posts-work-no-matter-url/#post-1481823)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
