Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have been trying to achieve the following url structure in Wordpress and maintain a level of reusability in the admin area.

It is for a client preview area and needs to reflect multiple versions of different file types.

So the desired URL structure would be:

http://preview.mysite.com/client-name/wireframes/v1/homepage/

/client-name/ is a dashboard view showing links to /wireframes/ as well as /mockups/ or anything else that is a design phase.

/v1/ relates to the version number of /homepage/

The easiest way is to use pages and sub pages but there must be a better way. More of a CMS way. Maybe there isn't. Perhaps Wordpress is the wrong choice for this.

share|improve this question
    
hmmm its not clear exactly what you want each 'part' to represent. Is client-name a username or a taxonomy or a post type? Do you mean v1 of the homepage wireframe? –  Tom J Nowell Mar 22 '12 at 10:58
    
I don't know which is the best approach. /client-name/ is a 'dashboard' view of everything - so wireframes, mockups, concepts, prototypes. /wireframes/ would list all wireframes associated with that /client-name/ and yes, /v1/ relates to the version of /homepage/ –  Craig Mar 22 '12 at 14:13

1 Answer 1

up vote 0 down vote accepted

My gut feeling is that you want to use custom taxonomies for part of this. So client-name would be one taxonomy (flat), version would be another taxonomy (also flat). Wireframes might a post type or a taxonomy, not sure what makes sense for you. A little googling led me to the following links, that you might be able to shake and bake into something useful.

I agree that pages and sub-pages would be a cumbersome way to achieve this, since you'd need to recreate the tree structure for every client. With custom taxonomies, you'd create the structures once and re-use them.

share|improve this answer
    
Looks promising. My main concern was showing the custom taxonomies in the url structure so they appear hierarchical. –  Craig Mar 22 '12 at 14:46
    
Also with this approach, I will potentially have a custom post type of 'Wireframes' and within that, dozens of posts with the same name 'Homepage' which I'm sure wordpress won't allow (would have to have different slugs) and there will be no easy way to identify them. I think I may need to rethink using wordpress for this. –  Craig Mar 22 '12 at 15:15
    
I see what you mean. There might be a way to make use of WP's internal versioning system, but figuring that out is way above my pay scale. –  Adam Rice Mar 22 '12 at 17:57
    
Hmm... maybe my question doesn't really have an answer then. Thanks for pointing me in the right direction though. –  Craig Mar 22 '12 at 19:30
    
Just ran across this: ben.balter.com/2011/08/29/… –  Adam Rice Mar 26 '12 at 22:47

Your Answer

 
discard

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.