The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › help with custom post type in wordpress › Re: help with custom post type in wordpress
Set rewrite_url parameter to true while you’re defining your custom post type and WP handles the rest. See the codex for code examples.