Title: &quot;with_front&quot; &amp; &quot;Get Code&quot; bugs 0.8.1
Last modified: August 21, 2016

---

# "with_front" & "Get Code" bugs 0.8.1

 *  Resolved [a.c](https://wordpress.org/support/users/ac-1/)
 * (@ac-1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/with_front-get-code-bugs-081/)
 * Upon updating from 0.8 to 0.8.1 my 3 existing CPT’s (created with this plugin)
   permalinks broke (resulting in 404s). Flushing the permalinks did not resolve
   the issue.
 * The “with_front” option had produced problems in the past, so I went back into
   each of my CPT’s and reset each “with_front” option (each were set to “false”),
   but had no luck. I also tried switching each to “true”, also with no luck. Regardless
   of which option I selected, the behavior remained the same: the “base” was being
   prepended to the permalink, causing an improper URL.
 * I decided to use the “Get Code” link on each CPT and compare it to the WP Codex
   for accuracy, specifically the “with_front” value. Sure enough, each CPT had 
   a different value for “with_front” (which requires a Boolean): “1”, “true”, and“
   0” respectively. My CPTs were set to “false”, “true”, and “false” respectively
   in the plugin.
 * I used the code to manually create the CPTs in my functions.php file, corrected
   the “with_front” values to “false”, “false”, “false” respectively, disabled the
   plugin, flushed the permalinks, and everything worked again.
 * Hopefully this issue will be resolved soon, as this is a great plugin.
 * [http://wordpress.org/plugins/custom-post-type-ui/](http://wordpress.org/plugins/custom-post-type-ui/)

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

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [12 years, 7 months ago](https://wordpress.org/support/topic/with_front-get-code-bugs-081/#post-4241878)
 * Seeing as this is the 2nd report I’ve had on this topic, I am definitely going
   to be investigating it and really soon. Thanks for the report. Expect a bug fix
   sometime this week, depending on how my work schedule pans out.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [12 years, 7 months ago](https://wordpress.org/support/topic/with_front-get-code-bugs-081/#post-4242082)
 * Filed an issue here [https://github.com/WebDevStudios/custom-post-type-ui/issues/110](https://github.com/WebDevStudios/custom-post-type-ui/issues/110)
   if you wish to follow.

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

The topic ‘"with_front" & "Get Code" bugs 0.8.1’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

## Tags

 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)
 * [prepend](https://wordpress.org/support/topic-tag/prepend/)

 * 2 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/with_front-get-code-bugs-081/#post-4242082)
 * Status: resolved