Setting up multisite with 'The page isn't redirecting properly' error (4 posts)

  1. CybreTron
    Posted 4 years ago #

    I did the following steps and so far so good:
    1. install Bitnami WordPress stack
    2. edit Apache2 httpd.conf and make document root point to .../apps/wordpress/htdocs/
    3. set directory in httpd.conf as follow:

    Alias /wordpress/ "/opt/www/apps/wordpress/htdocs/"
    Alias /wordpress "/opt/www/apps/wordpress/htdocs"
    <Directory "/opt/www/apps/wordpress/htdocs/">
        Options Indexes MultiViews +FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
        RewriteEngine On
        RewriteBase /opt/www/apps/wordpress/htdocs/
        RewriteRule ^index\.php$ - [L]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^/$ /opt/www/apps/wordpress/htdocs/ [PT]

    4. comment out the Include of "...wordpress.conf"
    5. edit wp-config.php and add the following lines after

    define('WP_ALLOW_MULTISITE', true);

    6. test on mysite.com and everything works fine
    7. upgrade to wordpress 3.3.1 and 6 other default plugins and I can still use mysite.com directly access my site at root
    8. activate network mode
    9. follow the instructions by copying codes to wp-config.php and .htaccess with

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'meetsky.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );


  2. CybreTron
    Posted 4 years ago #

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]


    10. Logout and tried to login again
    This is where I get "The page isn't redirecting properly" error.
    I cannot see the login page until I commented out the newly copied define lines in wp-config.php.

    I am lost and don't know what went wrong.
    Please help. Thanks in advance.

  3. CybreTron
    Posted 4 years ago #

    typo meetsky.com should be mysite.com in define line

  4. CybreTron
    Posted 4 years ago #

    Just find out that I cannot find or install any theme or plugins from the admin panel. Strange, I had installed one before. Now I get "An Unexpected HTTP Error occurred during the API request." when I click [Search]

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.