Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I had the site on but was using the database at, everything was working great. I moved the site to, now when I try adding a new post using a custom post type, it disappears, I am still able edit older posts, of the same custom post type. I checked the db when I create a new post nothing is saved, when I make changes to existing posts the change is saved.

Not sure where to look next. Thanks

this is in my functions.php

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Try re-generating the permalinks structure. And check that you have the correct urls in the general options (WPURL and URL)

share|improve this answer
regenerated permalinks and urls are correct, still no luck. – Chuck May 23 '11 at 0:19
perhaps it was just delayed, but it's working now. Thanks – Chuck May 23 '11 at 0:30

The first lines of your function for registering the post type are missing. You should get a fatal error. Check if you really took the complete file to your new site.

share|improve this answer
That was my bad, I just didn't get them when copying into pastebin. add_action( 'init', 'create_my_post_types' ); function create_my_post_types() { – Chuck May 23 '11 at 0:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.