WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] how to create sites in a different folder than / (6 posts)

  1. antropomorfic
    Member
    Posted 2 years ago #

    Hi there,

    I just want to create my sites like this:

    example.com/blogs/site1 and example.com/blogs/site2

    instead of the custom:

    example.com/site1 and example.com/site2

    can anyone help?

    thanks in advance!

  2. Install WP in example.com/blogs would be the easiest.

  3. antropomorfic
    Member
    Posted 2 years ago #

    thanks for the answer!

    But I want my principal site to be example.com/

    and the sites created for other users on example.com/blogs/site1

    =/

    thanks

  4. antropomorfic
    Member
    Posted 2 years ago #

    I've changed the wp-config.php
    on this places:

    $base = '/blogs/';

    define( 'PATH_CURRENT_SITE', '/blogs/' );

    and on .htaccess changed

    RewriteBase /blogs/

    but it doesnt work =/
    thought it would be easier...

  5. Then put a single install in example.com and the multisite install in the /blogs/ folder.

    YES this is how other sites have done the same thing. Two installs.

  6. antropomorfic
    Member
    Posted 2 years ago #

    thank you ppl!!!
    just finished installing and it works perfectly!!!

Topic Closed

This topic has been closed to new replies.

About this Topic