Title: Gallery permalinks generating 404 errors
Last modified: August 19, 2016

---

# Gallery permalinks generating 404 errors

 *  [rklau](https://wordpress.org/support/users/rklau/)
 * (@rklau)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/gallery-permalinks-generating-404-errors/)
 * Hi –
 * I have a working install of 2.5 [on my site](http://www.rklau.com/tins/), and
   used the media manager for the first time last night. On [the most recent post](http://www.rklau.com/tins/archives/2008/04/05/welcome-to-cody.php),
   I uploaded three pictures of our new dog. The [gallery] code works great and 
   generates the thumbnails in the post.
 * The problem is the permalinks to the images. One image is here:
 * [http://www.rklau.com/tins/wp-content/uploads/2008/04/dsc_0058.jpg](http://www.rklau.com/tins/wp-content/uploads/2008/04/dsc_0058.jpg)
 * But WP’s Gallery is converting that to:
 * [http://www.rklau.com/tins/archives/2008/04/05/welcome-to-cody.php/dsc-0058/](http://www.rklau.com/tins/archives/2008/04/05/welcome-to-cody.php/dsc-0058/)
 * The first URL works, the second (which is what’s in the post) is generating a
   404 error.
 * Any ideas how to correct this so clicks from the gallery resolve to the image
   permalink?
 * Thanks.

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

 *  [haochi](https://wordpress.org/support/users/haochi/)
 * (@haochi)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/gallery-permalinks-generating-404-errors/#post-732476)
 * LOL, I just read your post about your new dog in Google Reader this morning!
 * Well, it’s probably because of the .php at the end of the URL causing this, so
   you might want to remove that (temporary) in your settings and see if it works.
 *  Thread Starter [rklau](https://wordpress.org/support/users/rklau/)
 * (@rklau)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/gallery-permalinks-generating-404-errors/#post-732486)
 * Haochi –
 * That’s pretty funny. Small world!
 * Removing the .php in the permalinks settings didn’t help; same result.
 *  [BJ05](https://wordpress.org/support/users/bj05/)
 * (@bj05)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/gallery-permalinks-generating-404-errors/#post-732488)
 * 2.5 is worthless!
 * Clicking on options to some of my plugins, such as NextGen, Polls, Wassup and
   Statpress result in 404 redirects

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

The topic ‘Gallery permalinks generating 404 errors’ is closed to new replies.

## Tags

 * [gallery](https://wordpress.org/support/topic-tag/gallery/)
 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)
 * [photos](https://wordpress.org/support/topic-tag/photos/)
 * [wp2.5](https://wordpress.org/support/topic-tag/wp2-5/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [BJ05](https://wordpress.org/support/users/bj05/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/gallery-permalinks-generating-404-errors/#post-732488)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
