To redirect to a different url, add everything after the /wp-admin/ portion of the url. I used "edit.php" because the intended url was: http://example.com/wordpress/wp-admin/edit.php.

The redirect_post_location filter is not documented in the Codex Filter Reference. You can find it in the \wp-admin\post.php file near line 73. This is the WordPress code in the trunk version of WordPress:

As you can see, you can also test the $post_id redirect based on the $post_id or any information obtained from it. To use this second parameter of the filter, you need to pass the priority and _accepted_args_ parameters in the filter call: