WordPress.org

Ready to get started?Download WordPress

Forums

Adding site to WordPress Network (6 posts)

  1. codedecks
    Member
    Posted 3 years ago #

    Hi everyone,

    I’m new to WordPress, please forgive my ignorance. I’m trying to setup a MultiSite in WordPress. I have followed the instruction here http://codex.wordpress.org/Create_A_Network and successfully crested a network.

    I’m able to log in under Network Admin and add a new site, but when I go to preview the site I get “The page cannot be found”. I looked in the directory to see if a new directory was created for the new website but could find anything.

    My question is; When I add a new site under the Network Admin shouldn’t it create a website for me? Or do I have to install it manually?

    I followed this tutorial here http://premium.wpmudev.org/wpmu-manual/creating-sites-using-super-admin-sites/, simple enough. What am I going wrong?

    Thank you in advance for your help!

    Brad,

  2. Your .htaccess file isn't being read completely. Make sure you updated it correctly for multisite and, if you did, tell your host.

  3. codedecks
    Member
    Posted 3 years ago #

    Thanks for your response! I have my own windows 2003 server running iis 6. I've set my multisite in sub folders, my directlry structure is as follow (E:\workgroup\ and E:\workgroup\subsites. I have limited knowledge on .htaccess file a link to tutorial/sample would be very helpful.

    Here is my .htaccess, any other suggestion would be greatly appreciated.

    RewriteEngine On
    RewriteBase /workgroup/
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
  4. codedecks
    Member
    Posted 3 years ago #

    Can some tell me if adding a new site under the Network Admin shouldn’t it automatically create a website and director? Or do I have to create the directory manually?

  5. Can some tell me if adding a new site under the Network Admin shouldn’t it automatically create a website and director? Or do I have to create the directory manually?

    The directories are virtual. The only ones that get made are in the blogs.dir folder, and those are for file uploads. DO NOT make the /sitename folders or you'll break things :)

    I have my own windows 2003 server running iis 6.

    Ah. Okay, IIS6 makes a difference. I don't believe IIS6 uses .htaccess unless you've installed something fancy. Still, check that you have Apache web server with the mod_rewrite module installed before we go any further.

  6. codedecks
    Member
    Posted 3 years ago #

    Looks like it's time to upgrade...

    Thanks again Ipstenu!

Topic Closed

This topic has been closed to new replies.

About this Topic