Viewing 15 replies - 31 through 45 (of 241 total)
  • Thread Starter Tremayne

    (@tremayne)

    i’m so frustrated, it was back up for a second, and then I removed the lines from the top of the wp-config.php in order to free up the network tab and now the entire site is blank white, no log in or anything

    Thread Starter Tremayne

    (@tremayne)

    could my problem be here now (from wp-config.php)

    /* Multisite */
    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);

    should the path be ‘/wordpress’ if my install is in a “wordpress” subdirectory?

    There isn’t much in the wp-config.php file that should ever need to be changed.

    What exactly did you remove?

    Thread Starter Tremayne

    (@tremayne)

    I removed

    define(‘WP_HOME’,’https://marcusassoc.net’);
    define(‘WP_SITEURL’,’https://marcusassoc.net/wordpress’);

    and reinstated my plugin’s dircetory, wi=hich showed up in the network dashboard.

    when I go to the url it’s just white

    Thread Starter Tremayne

    (@tremayne)

    my htaccess looks like this

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    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]
    </IfModule>

    # END WordPress

    Moderator James Huff

    (@macmanx)

    Thanks for stepping in Dot 07, very much appreciated! ??

    Okay, stop for a few minutes. I will be right back. I have to take a quick break.

    Based on what I am seeing, previously the site was set up to show as a root install, though it is in the subdirectory.

    That .htaccess file should be located in your public_html directory. You should have a second .htaccess file in the subdirectory of your isntall which should look like this:

    # 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

    Your wp-config.php file should have the following.

    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’, 1);

    Let me know, if when you make things look like that, if everything is okay.

    Thread Starter Tremayne

    (@tremayne)

    Thanks, I need a break too. I got it back up, partly and now have admin access. looking forward to your advice, much appreciated.

    sorry, been a very very long day, I usually just draw in illustrator. ??

    Yeah, I know what you mean about long day.

    This is a little different from illustrator.. isn’t it?

    Is the .htaccess file you showed to contents of in the public_html directory?

    happy to be able to help where I can @macmanx (James Huff). ??

    Thread Starter Tremayne

    (@tremayne)

    This is very different, and while I kinda enjoy the problem solving, being so far out of my comfort zone is unsettling. But hey, I was all over my database today and learned something!

    So I didn’t have an .htaccess in the sub directory, so I made one, and configured the wp-config.php as above and replaced both files after making backups (see, learning)

    the result, was a partly formatted page, missing images. I got nervous and put the old files back.

    tempted to make the client buisiness cards with “/wordpress” on it (jk)

    Okay, yeah.. the .htaccess file you showed is one that is part of rewriting the url to point to the root directory. There are other steps that need to be taken to finish that process though and if you want to do that, I can walk you through it.

    It takes a little work, and it might make you nervous. I have done it a few times, in fact, almost all of my sites are done that way. We all have to start somewhere.. You just seem to have walked into a little more complicated process than some others do.

    Is there a possibility that the previous Super Admin could have made some changes before they left?

    Thread Starter Tremayne

    (@tremayne)

    absolutely. I made this site last year and the client wanted access and no admin from me, worked ok for 3 months, then no contact until today, when it’s broken.

    So I replaced both files again, and where it stands, is that the links navigate and the post content is there, but many/70 of the image links are broken.

    Shoudl I revert or is that part of the process.

    Absolutely willing to follow your steps.

    Thread Starter Tremayne

    (@tremayne)

    also note, that the accessing the root url says “forbidden”

    Don’t worry about the links right now.

    It’s part of the process. We are changing an existing site and there are going to be things that don’t work properly until we are finished.

    I am presuming you have the .htaccess file you showed in the public_html directory and then the second .htaccess file in the wordpress directory. Am I correct?

    Have you set the wp-config.php file up as I showed?

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