WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Multisite Lion Server (13 posts)

  1. ANTONIUS JOSEPH
    Member
    Posted 2 years ago #

    I run a server Server Lion.

    If you install WordPress Multisite directory "Users/<server>/Sites"

    Configured from "localhost/~server/wordpress/wp-admin/install.php"

    When I add a blog, and access by browser "localhost/~server/wordpress/site1"

    The main blog and the following work perfectly.

    If, you install wordpress in the same directory "Users/server/Sites"

    But configured from "server.lan/wordpress/wp-admin/install.php"

    When I add a blog, and access by browser "server.lan/wordpress/site1"

    The main blog works perfectly, but the following do not work and report the following error:

    "404 Not Found
    The requested URL /wordpress/site1 was not found on this server"

    The .htaccess file is configured so:

    <Directory "/Users/server/Sites/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    Thanks

  2. That's what it's supposed to be like.

    Have you ever configured a website on Lion server before?

  3. ANTONIUS JOSEPH
    Member
    Posted 2 years ago #

    No. It's the first time.

  4. What's in your .htaccess?

  5. ANTONIUS JOSEPH
    Member
    Posted 2 years ago #

    My .htaccess

    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. And the main site works at server.lan/wordpress/wp-admin ?

  7. ANTONIUS JOSEPH
    Member
    Posted 2 years ago #

    Yes.

  8. What did you setup as your URL for the domain? localhost or server.lan?

  9. ANTONIUS JOSEPH
    Member
    Posted 2 years ago #

    server.lan

  10. Given that you can get in at "localhost/~server/wordpress/site1" - It sounds like you have setup issues on your server, outside of WordPress, but I don't know where.

    WordPress isn't able to use BOTH localhost/~server AND server.lan, it's just not that smart.

  11. ANTONIUS JOSEPH
    Member
    Posted 2 years ago #

    If I do a clean install only with "server.lan" the problem continues.

  12. And do custom permalinks work?

  13. ANTONIUS JOSEPH
    Member
    Posted 2 years ago #

    Is not possible because when I turn on permalinks custom dashboard report the following error:

    "404 Not Found
    The requested URL /wordpress/site1/wp-admin was not found on this server"

Topic Closed

This topic has been closed to new replies.

About this Topic