Title: Preview doesn’t work when using Custom Post
Last modified: March 18, 2020

---

# Preview doesn’t work when using Custom Post

 *  Resolved [rei15](https://wordpress.org/support/users/rei15/)
 * (@rei15)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/preview-doesnt-work-when-using-custom-post-2/)
 * Hi,
 * I’ve been google-ing for days, hopefully someone out there can help me out with
   my problem.
 * I created custom post (ie “Column”) using the plugin Custom Post Type UI,
    and
   changed the permalink for my custom post using Custom Post Type Permalinks.
 * Post Name: Custom
    Permalink: [http://DOMAIN/column/%post_id%.html](http://DOMAIN/column/%post_id%.html)
 * Everything works well,
    – I can post my post correctly – My post URL are correct
 * Except that, i can’t preview my post before publishing it.
    When i tried to preview
   it, the preview URL shows : [http://DOMAIN/?post_type=column&p=102&preview=true](http://DOMAIN/?post_type=column&p=102&preview=true)
   And it redirects me to my top page.
 * Once the post is published, the “Preview” button returns the following URL.
    
   [http://DOMAIN/column/102.html?preview=true](http://DOMAIN/column/102.html?preview=true)
 * I’m assuming that something to do with the permalink, may i have any advise on
   how to fix the URL for preview ?
 * Thank you.

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [6 years, 2 months ago](https://wordpress.org/support/topic/preview-doesnt-work-when-using-custom-post-2/#post-12556660)
 * That’d be my best guess too, something about the permalink setup isn’t liking
   this much.
 * If at all possible, are you able to remove the permalink customization and test/
   confirm the preview works without it?

Viewing 1 replies (of 1 total)

The topic ‘Preview doesn’t work when using Custom Post’ 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

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)
 * [permalink](https://wordpress.org/support/topic-tag/permalink/)
 * [preview](https://wordpress.org/support/topic-tag/preview/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/preview-doesnt-work-when-using-custom-post-2/#post-12556660)
 * Status: resolved