Title: Permalinks/Redirect error
Last modified: August 19, 2016

---

# Permalinks/Redirect error

 *  [mkcalpo](https://wordpress.org/support/users/mkcalpo/)
 * (@mkcalpo)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalinksredirect-error/)
 * I recently changed my permalink setting from “ugly” to “month and name”, and 
   used [Dean’s Permalink Migration Plugin](http://www.deanlee.cn/wordpress/permalinks-migration-plugin/)
   to take care of all existing links.
 * Everything went well except for my blog; clicking on the link to my blog leads
   to a 404 error. But when I revert to the “ugly” permalink setting, all my links
   work fine. Renaming pages also gives the same result.
 * Need help, thanks!

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

 *  [Doug](https://wordpress.org/support/users/douglascox/)
 * (@douglascox)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalinksredirect-error/#post-1952604)
 * Could you specify a link to your site and/or a page where the problem is occurring?
 *  [f15d9f87d](https://wordpress.org/support/users/boyevul/)
 * (@boyevul)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalinksredirect-error/#post-1952606)
 * From the plugin website comments:
    “There is a very slight typo in your dean_pm_post_rewrite_rules(
   $rules) function.
 * $wp_rewrite->generate_rewrite_rule($oldstruct, false, false, false, true)
 * should be plural…
 * $wp_rewrite->generate_rewrite_rules($oldstruct, false, false, false, true)
 * Changing that fixes many of the 404 errors that people have been experiencing.”
 *  Thread Starter [mkcalpo](https://wordpress.org/support/users/mkcalpo/)
 * (@mkcalpo)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalinksredirect-error/#post-1952844)
 * [@douglas](https://wordpress.org/support/users/douglas/): Site’s at [http://www.mkcalpo.com](http://www.mkcalpo.com);
   problem page is [http://www.mkcalpo.com/blog](http://www.mkcalpo.com/blog).
 * [@boyevul](https://wordpress.org/support/users/boyevul/): How do I change the
   rewrite function? 🙂
 *  [ramith](https://wordpress.org/support/users/ramith/)
 * (@ramith)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalinksredirect-error/#post-1952846)
 * Hi I had the same issue, when you change the permalink it will generate a code
   you have to place it in the .htaccess, just copy the existing code and and save
   it some where judt in case anything goes wrong you can replace with the original,
   the /htaccess file will be in the ftp if you are a mac user go to transmit and
   from the tool bar go to view and in the view tick invisible files then you can
   see .htaccess you don’t need any plugin let me know how did you go
 * Cheers,
    Ramith

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

The topic ‘Permalinks/Redirect error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [ramith](https://wordpress.org/support/users/ramith/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/permalinksredirect-error/#post-1952846)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
