• Hi,
    I have been asked to install WordPress multisite for use on a small college LAN for student website development. I’ve installed XAMPP 7.4.7 and Bitnami WordPress 5.4.2 on Lubuntu 18.04 following the instructions at https://www.ads-software.com/support/article/create-a-network/.

    In order to make the network site visible to other PCs on the network I have changed:
    wp-config.php – define(‘DOMAIN_CURRENT_SITE’, ‘192.168.15.254’); from 127.0.0.1
    wp_blogs table domain value to 192.168.15.254 from 127.0.0.1
    wp_options table siteurl value to https://192.168.15.254/wordpress/ from 127.0.0.1
    wp_options table home value to https://192.168.15.254/wordpress/ from 127.0.0.1

    This works fine.

    I’ve added a test site and followed the login link from the email, but when I go to https://192.168.15.254/wordpress/testsite/wp-login.php I get:

    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.

    After searching for a solution I’ve tried:
    1.Disabling all plugins
    2.Renamed .htaccess and plugins folder
    3.Redefining inside wp-config.php
    define(‘WP_HOME’,’https://192.168.15.254/wordpress’);
    define(‘WP_SITEURL’,’https://192.168.15.254/wordpress’);
    4.Clearing browser data completely.

    I’ve searched days for a solution, but zero.

    Any help is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • This link is a bit dated, but hopefully it sparks some ideas / leads for you? https://www.youtube.com/watch?v=5O27KBptBeY

    Also, when you check the inspector > network > headers, anything helpful there as far as the requests and responses happening?

    You’ll need to suspend some of what you know about web servers slightly to fully understand this but…

    The best way is to either run WordPress from the webroot (instead of that WordPress directory) or else use these instructions to run WordPress from the WordPress directory as if it was installed in the webroot.

    https://www.ads-software.com/support/article/giving-wordpress-its-own-directory/

    I prefer the install in the subdirectory using the above-linked directions and you’ll want to use ‘Method II’. Bitnami installs in the WordPress directory by default so that’s already done for you.

    Once you’ve done the above you’ll want to test and fix any problems with your main install which should be at 127.0.0.1 or 192.168.15.254.

    From there if you’ve done a multisite subdirectory install your subdirectories will be added to the IP address but not using ‘WordPress’ (wordpress? in your case) anymore.

    Subdomains will require a domain name and mapping to work if you need those.

    Don’t forget you’ll possibly need to account for your control panel domain name resolution if you have a CP. I can’t remember if Bitnami provides a CP or not.

    Just try to think ‘get the whole URL to WordPress’ then let it deal with things from there.

    Thread Starter craigjameshamilton

    (@craigjameshamilton)

    Thanks for the replies. I’ll try the solutions when I go back to work (school break at moment) and report back on any progress.

    Thanks for the advice.

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