i would like all posts to appear in site.com/portfolio/
and pages to appear where-ever. so i can't put the entire wordpress in a /portfolio/ directory...
I want:
site.com/portfolio/
site.com/portfolio/categoryname/
site.com/portfolio/post_id
site.com/page_slug
I tried a few things in Edit Permalink Structure
Case 1:
Structure: /%post_id%/
Category base: /portfolio/
... This leaves individual entries to 'appear' outside , as in:
site.com/portfolio/categoryname/
site.com/post_id --> BUT... i need site.com/portfolio/post_id
Case 2:
Structure: /portfolio/%post_id%/
Category base: (blank)
site.com/portfolio/post_id is OK but this nests like this: site.com/portfolio/category/categoryname --> but I want to remove the word 'category'
Case 3:
conversly, i've tried to add portfolio in both places,
Structure: /portfolio/%post_id%/
Category base: /portfolio/
This gives:
site.com/portfolio/post_id -- > OK
site.com/portfolio/portfolio/categoryname --> nests the word 'portfolio'
site.com/portfolio/post_id is OK but this nests like this: site.com/portfolio/portfolio/category
Case 4:
I've tried hacking the classes.php file to have the word 'portfolio/ instead of category/ but this does not work for individual entries...
Any ideas on how to skin this cat?