Possible Duplicate:
How to have a custom URL structure for a custom post type?
I create custom post type called "portfolio". Now I try to figure out url, for portfolio, and for standard posts. I want permalink like that:
sitename.com/portfolio/simple-project-name/ - for portfolio post type. sitename.com/blog/simple-post-name/ - for posts.
Now, my url for protfolio is fine, but for post i haven't a "/blog/" before post title. If I go to Permalink Settings in Dashboard and add "/blog/" to Custom Structure, it's works for posts, but for portfolio post type i have:
sitename.com/blog/portfolio/simple-project-name/ - but i don't want /blog/ for portfolio post type. How to fix it?