WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multisite does not create new sites (9 posts)

  1. karlalopez
    Member
    Posted 2 years ago #

    I've installed the 5 Minute Installation in my server and turned it into a multisite.

    Everything seems to be working but it does not create other sites. When I add a new site, everything seems fine, it sends me the email confirmation and the new website is shown in my top admin bar. But the site does not show up: the URL does not work (Internal server error http://obaiti.com/mais) and when I click in the admin bar link the Dashboard does not load (internal server error). The main website works perfectly.

    In the Network Dashboard it does not account the new site as well. It says 1 user, 1 site.

    I decided to run the same file in my localhost and it shows the exact same problem.

    I downloaded the latest file at http://wordpress.org.br/

    Thanks!

  2. wpfranner
    Member
    Posted 2 years ago #

    Sounds like a .htaccess problem.

    If you go to http://www.yourdomain.com/wp-admin/network/sites.php, is the site you created on the list?

    Are you sure that the .htaccess file is set up OK and that your Apache is set to recognize it?

  3. karlalopez
    Member
    Posted 2 years ago #

    There was something wrong with my htaccces. I changed to what was instructed in the network set up but the problem still there.

    Now, the second website wan shown on the network dashboard but still nothing there in the URL.

    I tried to delete it. The site does no show in the http://www.yourdomain.com/wp-admin/network/sites.php, but still counting in the Admin Dashboard page: 1 user, 2 sites.

    Really weird.

    Note: Everything I did in my server, I did in my localhost. In localhost the problem is fully fixed. It might be something to do with Apache, but I have no idea how to fix it. Help!

  4. Internal server error usually means your htaccess isn't being correctly parsed.

    Do you have AllowOverride set to ALL in your httpd.conf?

  5. karlalopez
    Member
    Posted 2 years ago #

    Oh, now you're really ahead of me. I have no idea how to find an answer your question :)

    This is what I have in my htaccess file (server and localhost - dont work in server, works in localhost):

    RewriteEngine On
    RewriteBase /wordpress/
    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]

  6. Is WordPress installed in the /wordpress/ folder?

    If not, change that to this:

    RewriteEngine On
    RewriteBase /
    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]
  7. karlalopez
    Member
    Posted 2 years ago #

    It WAS. Not anymore, that's why I decided to go with a fresh install. But I think I copied the old htaccess file. THAT was stupid. I did what you said and everything is fine now!

    Thank you very much.

    I'm just curious: How does a htaccess file look like when its not a Multisite? Just a regular blog?

    Thank you again!

  8. The default one looks like this: http://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29

    At this point, I think I've accidentally memorized what's right and wrong. o.O

  9. karlalopez
    Member
    Posted 2 years ago #

    Thank you again!

Topic Closed

This topic has been closed to new replies.

About this Topic