Title: using 404 errors
Last modified: August 18, 2016

---

# using 404 errors

 *  [dan541](https://wordpress.org/support/users/dan541/)
 * (@dan541)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/using-404-errors/)
 * Google is listing alot of outdated links on index.php
 * Such as index.php?action=recent
    and index.php?topic=167.new
 * These are left overs from when I used to have a forum in the root directory (
   now in /forum) there is my wordpress blog in the root directory now but google
   still lists old links.
 * The problem is wordpress always takes 404’s back to the front page so old forum
   links in google goto the wordpress index.
 * How can I modify wordpress to output true 404 errors if someone requests an outdated
   url even if the old url is index.php?* ?
 * I would also like to do the same for directories.
 * Thanks
    ~Dan
 * p.s I really dont want to disable permalinks

The topic ‘using 404 errors’ is closed to new replies.

## Tags

 * [index.php](https://wordpress.org/support/topic-tag/index-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [dan541](https://wordpress.org/support/users/dan541/)
 * Last activity: [19 years, 5 months ago](https://wordpress.org/support/topic/using-404-errors/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
