Support » Networking WordPress » The page isn't redirecting properly

  • Resolved legibuslives

    (@legibuslives)


    I set up a multisite network utilizing subdirectory sites. I added a new site, http://iamlegibus.com/legal-directory/, which displays without formatting, and when I try to access the dashboard of the subsite, http://iamlegibus.com/legal-directory/wp-admin/, I get a problem loading the page with the following warning,

    The page isn’t redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies.

    Here is the coding of my .htaccess file

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    </IfModule>
    
    # END WordPress

    Here’s the code from my wp-config file

    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'iamlegibus.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    Also, I receive a 500 error when I try to edit other features by using direct url access to admin pages on the subsite like, http://iamlegibus.com/legal-directory/wp-admin/widgets.php

    I’ve looked around but haven’t found a solution. Can someone help me solve this problem?

Viewing 6 replies - 1 through 6 (of 6 total)
  • P.S. I have a shared account so I have to wait until I get a response from my ticket to find out about the contents of the httpd.conf file.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Word of warning: Multisite on shared is often the way which madness lies. You’re running multiple sites, and it’s the equivalent of the same number of single sites. Please keep that in mind when you think your site is slow 😉

    That’s the wrong .htaccess. Try this one:

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

    You are the Best! That fixed it.

    On the eve of Thanks Giving, I’d like to give Thanks to Mika Epstein! You will definitely be a guest in spirit at my dinner table tomorrow!

    Whoops! I mean Thursday. I sometimes forget what day it is.

    This worked for me also. Thanks Ipstenu!

    Working 🙂 Thank you Ipstenu!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘The page isn't redirecting properly’ is closed to new replies.