Viewing 15 replies - 121 through 135 (of 241 total)
  • Thread Starter Tremayne

    (@tremayne)

    no I haven’t removed them yet, should I?

    yes, remove those. Just those two for now.

    Thread Starter Tremayne

    (@tremayne)

    okay home was just marcusasoc.net/

    but site url had /wordpress. I removed it and now the links are broken again.

    What does the Network Setup show now?

    Thread Starter Tremayne

    (@tremayne)

    wp config.php says
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘marcusassoc.net’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    and .htaccess says

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [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).*) wordpress/$2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ wordpress/$2 [L]
    RewriteRule . index.php [L]

    Oh, go into the Settings Permalinks for the second site and resave them. That is the site you are using.

    Thread Starter Tremayne

    (@tremayne)

    did, teh root url is still white, and the /wordpress doesn’t work either now

    Okay, make sure the wp-config.php file matches and the root directory .htaccess file matches that.. And the subdirectory .htaccess file is

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Thread Starter Tremayne

    (@tremayne)

    so the network settings htaccess is for the root .htaccess?

    define(‘WP_DEBUG’, false);
    define(‘WP_ALLOW_MULTISITE’, true);
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘marcusassoc.net’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 2);

    For some reason, WordPress isn’t correctly showing the define(‘BLOG_ID_CURRENT_SITE’, 2)

    Make sure you have that set correctly and make sure the top two lines (which Network Setup isn’t showing) are there.

    Yes, it should be the root .htaccess for what Network Settings is showing.

    The subsite .htacess should show just as it would regularly. What that root .htaccess is doing is forcing the subdirectory rewrite to show as the root url.

    Thread Starter Tremayne

    (@tremayne)

    I did all three and it will load the home page with images on /wordpress only. the root url is white and the links are broken

    Thread Starter Tremayne

    (@tremayne)

    should path to current site be /wordpress?

    What is showing in the Network Sites for the site you are using now when you choose edit?

Viewing 15 replies - 121 through 135 (of 241 total)
  • The topic ‘wp-admin link suddenly stopped working’ is closed to new replies.