• arcadianhaven

    (@arcadianhaven)


    I read all the other threads on this and nothing has fixed this. I have WP on my godaddy server. I installed and made the changes to run the multi site. I setup my 2nd site. It has no formatting, looks like a vga text site (lol) and then when I try to go to the dashboard for it I get a redirect loop. I changed the HT Access fiel per the other blogs, it looks like this now:

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

    I also change the WP config files: it looks like this now:

    /**
     * For developers: WordPress debugging mode.
     *
     * Change this to true to enable the display of notices during development.
     * It is strongly recommended that plugin and theme developers use WP_DEBUG
     * in their development environments.
     */
    define('WP_DEBUG', false);define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'arcadianhaven.com');
    define('PATH_CURRENT_SITE', '/wp/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    
    define('ADMIN_COOKIE_PATH', '/');
    
    define('COOKIE_DOMAIN', '');
    
    define('COOKIEPATH', '');
    
    define('SITECOOKIEPATH', '');

    I am no programmer, so please forgive my ignorance, I am trying but don’t know what else to do. Could any of you guru’s help me out here please?

    Thanks in advance, I truly appreciate it!

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

    (@ipstenu)

    ?????? Advisor and Activist

    IF THOSE WERE YOUR REAL PASSWORDS AND IDS FOR THE DATABASE YOU NEED TO CHANGE THEM RIGHT NOW! DO NOT STOP TO ASK WHY, GO CHANGE THE PASSWORDS!

    Never, ever, ever, ever post your passwords on a public forum, and never post those sections of your wp-config. All we ever need is the MULTISITE lines ??

    define('WP_DEBUG', false);define('MULTISITE', true);

    Those should be on separate lines, but it’s probably not the issue here.

    define('PATH_CURRENT_SITE', '/wp/');

    Is WP installed in the folder wp?

    Thread Starter arcadianhaven

    (@arcadianhaven)

    DOH! Thank you! I just changed it. I did not realize those could be accessed outside GoDaddy. Newb Mistake!

    Yes WP is installed in the wp folder.

    Thanks for telling me ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You gave WP it’s own folder, I see. Your ReWriteBase should be /wp/

    and that .htaccess should be in the ROOT level, not the wp folder.

    Just thought I would share a solution I found for multi-site sub-directories with godaddy, I found this post and inside is a nice piece of code to replace with your .htaccess

    Here’s the post:
    https://premium.wpmudev.org/forums/topic/already-installed-multisite-w-subdirectories-on-godaddy

    and the code:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # uploaded ?les
    RewriteRule ^([_0-9a-zA-Z-]+/)??les/(.+) wp-includes/ms-?les.php??le=$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).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    </IfModule>

    ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘MultiSite Dashboard redirect loop’ is closed to new replies.