Root directory redirect not working
-
https://collab.solutions/cosolutions (works)
https://collab.solutions (Error establishing a database connection)
Updated from single site to multisite subfolders.Setup of single site with index.php in root that redirects to httpdocs/cosolutions (wordpress folder):
httpdocs/index.php
<?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require(dirname( __FILE__ ) . '/cosolutions/wp-blog-header.php'); ?>
This does not redirect to /cosolutions/wp-blog-header.php
Network settings
Siteurl https://collab.solutions/cosolutions
Home https://collab.solutions/cosolutions
Note if I change either of these everything stops workingAny Advice will be appreciated.
Thank you
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Root directory redirect not working’ is closed to new replies.