[wp-hackers] Need Custom Post Type Rewrite Help, Please
Mike Schinkel
mikeschinkel at newclarity.net
Sun Apr 18 08:52:50 UTC 2010
Hi all,
I'm working on a WP3.0 based site for a friend that will have about 3-5 "pages" and 700+ "financial terms." I've created a custom post type "financial-term" and am now trying to get the URL structure to work. Rather than this:
http://example.com/financial-terms/accounts-payable/
I really want to implement this so that the URLs are not so overwhelming for the users:
http://example.com/accounts-payable/
I know given WordPress' current URL rewriting system that this approach is considered "harmful" but this site doesn't follow the same pattern as sites where it really is harmful. In essence this site's financial terms are it's pages. Yes I could use a "page" for this but it just doesn't feel correct to ask the user to have to combine financial terms and pages like "about" and "home."
I've been staring at this for hours and can't figure out what exactly I need to do to give this to work. As I've said before I am just completely unable to grok how to make WordPress' current rewrite system to what I need it to do in most cases. Thanks, and any help would be appreciated.
-Mike
More information about the wp-hackers
mailing list