WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to possibly force a redirection to the post (type's) listing page (edit.php?post_type=<post-type>)?

EDIT: Since I got a LMGTFY link, let me clarify before I downvote it.

Is there anyway to redirect the user forcibly to the post type's listing page AFTER they've already submitted the form to either edit the post or create a new post?

share|improve this question
My Original Comment: Yes, by adding a redirect. Either in your server configuration or with a Wordpress Redirect Plugin. – hakre Feb 8 '11 at 14:50
up vote 2 down vote accepted
share|improve this answer
Reading the Post Status Transitions article, I'm guessing I'd need to hook publish_visitor where visitor is my CPT? Thanks! – Zack Feb 8 '11 at 19:05
@Zack yep, that seems to be right. – Rarst Feb 8 '11 at 19:15

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.