Multisite URL Error when clicking Network Admin
-
When I click on Network Admin this is the how the link is formatted: https://<domain>.com<domain>_comwp-admin/network/
I can fix it by changing it to https://<domain>.com/wp-admin/network/ and then I can access the Network Admin page.
Then when I go to access a subdomain this is how the link is formatted:
https://<subdomain>.<domain>.com<domain>_com/Where did I go wrong that it’s adding a <domain>_com to what’s already there?
Thank you in advance.
David
Below is my config file:
<?php /** WordPress's config file **/ /** https://www.ads-software.com/ **/ // ** MySQL settings ** // define('DB_NAME', '<domain>_com'); // The name of the database define('DB_USER', '****'); // Your MySQL username define('DB_PASSWORD', '****'); // ...and password define('DB_HOST', 'mysql.<domain>.com'); // ...and the server MySQL is running on // Change the prefix if you want to have multiple blogs in a single database. $table_prefix = '****'; // example: 'wp_' or 'b2' or 'mylogin_' // Turning off Post Revisions. Comment this line out if you would like them to be on. define('WP_POST_REVISIONS', false ); // Change this to localize WordPress. A corresponding MO file for the // chosen language must be installed to wp-includes/languages. // For example, install de.mo to wp-includes/languages and set WPLANG to 'de' // to enable German language support. define ('WPLANG', ''); define('WP_ALLOW_MULTISITE', true); define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', true ); $base = '<domain>_com'; define( 'DOMAIN_CURRENT_SITE', '<domain>.com' ); define( 'PATH_CURRENT_SITE', '<domain>_com' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 ); **** auth keys have been deleted **** /* Stop editing */ $server = DB_HOST; $loginsql = DB_USER; $passsql = DB_PASSWORD; $base = DB_NAME; define('ABSPATH', dirname(__FILE__).'/'); // Get everything else require_once(ABSPATH.'wp-settings.php'); ?>
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Multisite URL Error when clicking Network Admin’ is closed to new replies.