Custom URL Structure with WordPress MU
-
Hey everyone,
I’m using wordpress MU to make a site for a software company. The structure I want is something like the following:
home
|- about
|- blog
|- support
|- product 1 support blog
|- product 2 support blog
|- product 3 support blog
|- products
|- product 1
|- features
|- benefits
|- etc.
|- product 2
|- features
|- benefits
|- etc.I have the products section working beautifully with pages and subpages. The URLs are clean and make sense (e.g., /products/product1/features/) but I’m having trouble with the support section.
The URLs I’d like to see are: /support/, /support/product1/, /support/product2/, etc. The page at /support/ would be an overview, with links to the support blogs and some excerpts from the latest post on each blog.
I tried to accomplish this by creating a page called support then subpages called product1, product2, etc. The subpages used a page template that would use switch_to_blog(id) and then just include the index.php template file with the loop. Everything works great until you try to go to a single post. I tried using the permalink structure of /support/product1/my-post-title, but it keeps wanting to redirect to the main blog.
Sorry for the long post. Is what I’m doing even possible without some hacking in core files?
Thanks
- The topic ‘Custom URL Structure with WordPress MU’ is closed to new replies.