WordPress.org

Forums

[resolved] converting sub-directory based into sub-domain based (6 posts)

  1. adywp
    Member
    Posted 5 years ago #

    hi, i have already setup a network using sub-directory installation. just have twelve blogs (site). but now my requirement are changed, i have to set it up with sub-domain based.
    can i do that? (without new fresh installation?)

  2. If you want to go in the database and also manually change the URLs saved there to subdomains, yes.

    edit the wp-config file, find the line about subdomain - false, change to true. that will take care of new sites.

    the exsiting ones either have to be changed manually or re-done.

  3. adywp
    Member
    Posted 5 years ago #

    thx andrea

  4. tlegrand
    Member
    Posted 5 years ago #

    Hello,

    I have the reverse problem: converting sub-domain based into sub-directory based.

    Actually, I only have one blog at the root level, no sub-domain was configured. But the network has been configured with the "sub-domain" option.

    Is it possible ?

    Thanks,
    Tom

  5. OPen up wp-config.php. See where it says subdomains are true? Change it to false.

  6. tlegrand
    Member
    Posted 5 years ago #

    Thanks Andrea

Topic Closed

This topic has been closed to new replies.

About this Topic