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'm creating my first path-based WordPress Multisite Network. Right now it runs a few blogs, such as:

www.mymaindomain.com
www.mymaindomain.com/blog1
www.mymaindomain.com/blog2
www.mymaindomain.com/blog3

I'm wondering is it possible to change my blogs URLs to something like:

www.mymaindomain.com
www.mymaindomain.com/directory/blog1
www.mymaindomain.com/directory/blog2
www.mymaindomain.com/directory/blog3

It's quite tricky to achieve with .htaccess as I have absolutely no idea how to tell the difference between sites such as www.mymaindomain.com/blog1 and pages like www.mymaindomain.com/contactpage.

Any ideas?

share|improve this question

1 Answer 1

This seems like it could be solved within your permalink settings. Go to the respective sites settings and add it to your permalink structure.

share|improve this answer

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.