[wp-hackers] Putting post into /blog/

Peter Westwood peter.westwood at ftwr.co.uk
Sat Nov 28 17:26:10 UTC 2009


On 28 Nov 2009, at 14:46, Mike Schinkel wrote:

> Here's another URL related issue.  For the longest time I've wanted  
> to move everything blog related (i.e. not "Pages") including tags,  
> categories, and posts under the "/blog/" URL path.  Let me explain  
> with hypothetical URLs:
>
> example.com/products/
> example.com/support/
> example.com/about/
> example.com/contact/
> example.com/blog/
> example.com/blog/category/{category_slug}/
> example.com/blog/tag/{tag_slug}/
> example.com/blog/{year}/{month}/{post_slug}/
>
> You'd think this would be easy but unfortunately it has been a very  
> elusive beast.

Have you considered this.

Two WP installs

One in the root
One in the blog folder

You can share the user tables between the two and I suspect that you  
can do similar things to what bbPress does and share cookies so that  
you only have to log in once.

You could then use some of the hooks available to change the menu  
items such that if you go to posts on the site handling pages it takes  
you to the other sites admin seamlessly
-- 
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5



More information about the wp-hackers mailing list