• 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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    That’s what it’s supposed to be like.

    Have you ever configured a website on Lion server before?

    Thread Starter ANTONIUS JOSEPH

    (@antonius-joseph)

    No. It’s the first time.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    What’s in your .htaccess?

    Thread Starter ANTONIUS JOSEPH

    (@antonius-joseph)

    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]

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    And the main site works at server.lan/wordpress/wp-admin ?

    Thread Starter ANTONIUS JOSEPH

    (@antonius-joseph)

    Yes.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

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

    Thread Starter ANTONIUS JOSEPH

    (@antonius-joseph)

    server.lan

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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.

    Thread Starter ANTONIUS JOSEPH

    (@antonius-joseph)

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

    And do custom permalinks work?

    Thread Starter ANTONIUS JOSEPH

    (@antonius-joseph)

    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”

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘WordPress Multisite Lion Server’ is closed to new replies.