• Hello,

    I have a test installation of WordPress on my computer (localhost). It is a Mac OS X, Snow Leopard with Apache / PHP / MySQL setup.

    I would like at this testing installation – which will soon to an internet server – enable the use of multisite. Natively, WordPress allows localhost installations on the feature set to subdirectories. How do I enable the option to setting a subdomains-based network?

    Thanks, and sorry for my poor knowledge in English.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Timothy

    (@seahawknationblog)

    Open up wp-config.php and add this line >> define(‘WP_ALLOW_MULTISITE’, true); ) << above where it says /* That’s all, stop editing! Happy blogging. */:

    1. Create a blogs.dir directory under /wp-content/
    This directory is used to stored uploaded media for your additional sites and must be writable by the web server. They should be CHOWNed and CHMODed the same as your wp-content directory.
    2. Add the extra lines your WordPress installation generates into your wp-config.php file.
    These lines are dynamically generated for you based on your configuration.
    Edit the wp-config.php file while you are logged in to your sites admin panel.
    Then just paste the generated lines immediately above /* That’s all, stop editing! Happy blogging. */.

    3. Add the generated mod_rewrite rules to your .htaccess file, replacing other WordPress rules.
    (If there isn’t one, then create it.)
    These lines are dynamically generated for you based on your configuration.
    4. Log in again.
    Once the above steps are completed and the new wp-config.php & .htaccess files are saved, your network is enabled and configured. You will have to log in again. click “Log In” to refresh your Adminstration Panel. If you have problems logging back in, please clear your browser’s cache and cookies.

    Timothy

    (@seahawknationblog)

    Or you can go here for more details on creating a Sub-Domain Network:

    http://codex.wordpress.org/Create_A_Network

    you’ll also have to add the subdomains manually to locahost, as your local box usually doesn’t do wildcard subs.

    What with no real dns and all….

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Setting up a network with subdomains on a localhost installation’ is closed to new replies.