Title: Permalink Month and Name causing CGI Error
Last modified: August 19, 2016

---

# Permalink Month and Name causing CGI Error

 *  [jmarin](https://wordpress.org/support/users/jmarin/)
 * (@jmarin)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/permalink-month-and-name-causing-cgi-error/)
 * hi I have several different 2.5.1 WordPress Blogs that are having the same issue.
   They each use themes we found at themes.wordpress.org. What’s happening is that
   if I select month and name permalinks instead of the default type, some of the
   pages on the site update and work fine at the new URLs and other pages generate
   CGI errors. They’re all in one category, there isn’t anything special about the
   pages that I can tell, but they don’t work. I’ve read through the forums and 
   Docs and haven’t found anything there yet that helps. I activated Mark Jaquith’s
   Disable Canonical URL Redirection Plugin to see if that fixed the problem but
   it made no difference.
 * **CGI Error**
    The specified CGI application misbehaved by not returning a complete
   set of HTTP headers.
 * The main site I’m concerned about is [http://www.hotelvegasdeals.com/](http://www.hotelvegasdeals.com/)
   
   For example, when I have permalinks set to month and name, the Cool in Vegas 
   link in the header generates the above CGI error, but the link to Diamonds in
   the Desert works fine. I’m not sure if maybe the site index needs to be forced
   updated or something to make all the permalinks work?

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

 *  Thread Starter [jmarin](https://wordpress.org/support/users/jmarin/)
 * (@jmarin)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/permalink-month-and-name-causing-cgi-error/#post-806636)
 * oh and I also updated the index.php file in the root of the site to: require(‘
   wp-blog-header.php’); instead of require(‘./wp-blog-header.php’);
    That didn’t
   change anything at all.
 *  Thread Starter [jmarin](https://wordpress.org/support/users/jmarin/)
 * (@jmarin)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/permalink-month-and-name-causing-cgi-error/#post-806644)
 * also, I’m using IIS 6 and I’ve tried [http://www.keyboardface.com/IIS-Permalinks/](http://www.keyboardface.com/IIS-Permalinks/)
   to no avail.
 *  750925
 * [17 years, 10 months ago](https://wordpress.org/support/topic/permalink-month-and-name-causing-cgi-error/#post-806955)
 * I have the same problem. The strange think is that only some of my permalinks
   don’t work. The only pattern I found is that the links that generate CGI error
   are shorter than the links that work.
 * Any idea why?

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

The topic ‘Permalink Month and Name causing CGI Error’ is closed to new replies.

## Tags

 * [canonical url](https://wordpress.org/support/topic-tag/canonical-url/)
 * [cgi error](https://wordpress.org/support/topic-tag/cgi-error/)
 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: 750925
 * Last activity: [17 years, 10 months ago](https://wordpress.org/support/topic/permalink-month-and-name-causing-cgi-error/#post-806955)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
