WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Cannot find define( ‘SUBDOMAIN_INSTALL’, true ) in wp-config.ph (3 posts)

  1. hinhthoi
    Member
    Posted 2 years ago #

    Hi,

    My website is http://healthyhow.net

    I'm trying to set up network for multiusers for my website using subdirectories. But there is a message saying that:

    Because your install is not new, the sites in your WordPress network must use sub-domains. The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.

    I follow the instruction here: http://wordpress.org/support/topic/to-create-a-new-network-you-will-need-to-empty-or-remove-the-network-database-t?replies=13 (the comment from Andrea_r) and i think that is the thing i am looking for. Unfortunately i cannot find the command define( ‘SUBDOMAIN_INSTALL’, true ) in wp-config.ph

    I am using WP 3.2.1, can anyone please help me where i can find that command to allow subdirectory multiusers in my website?

    Thanks!

  2. The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.

    I want you to pay attention to that one for a second :)

    IF you're okay with all the links on your main site moving from domain.com/2011/11/18/postname to domain.com/blog/2011/11/18/postname then you can do this.

    Don't worry about uninstalling or cleaning out WP. You don't need to do that because you did not have an existing NETWORK install, just an existing WORDPRESS one.

    Now. Turn on MultiSite. Get it all set up as SUBDOMAIN (I know, shhh), and DO NOT make any sites. Once you've done that, which includes adding in all the lines to your wp-config.php file, you should see the SUBDOMAIN_INSTALL one.

  3. hinhthoi
    Member
    Posted 2 years ago #

    Thank Ipstenu for your help. I have follow your instruction and done it successfully. I didn't see the SUBDOMAIN_INSTALL becauses i didn't dare to install the network (because i see the warning so i was confused).
    After clicking install, i see the SUBDOMAIN_INSTALL line in my wp-config.ph file.

    Thanks again

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.