How do I change the base URL?
-
The links in the navbar menu, in (My sites > Manage the network) are pointing (and keep redirecting) to incorrect URLs.
The incorrect URLs are in this pattern:
https://https//www.domain.com/wp-admin/network/ https://https//www.domain.com/wp-admin/network/sites.php https://https//www.domain.com/wp-admin/network/settings.php
Even if I manually entered the correct URL without the repeated https, I am redirected to the wrong URL again.
It seems that
https//www
is set somewhere instead ofhttps://www
, I can’t find where.Places that I have looked:
* htaccess file:
RewriteCond %{HTTP_HOST} ^domain\.com [NC]
RewriteRule ^(.*)$ https://www.domain.com/$1 [R,L]* wp-config:
define(‘DOMAIN_CURRENT_SITE’, ‘https://www.domain.com’);
define(‘WP_HOME’,’https://www.domain.com’);
define(‘WP_SITEURL’,’https://www.domain.com’);* table wp_options
siteurl => https://www.domain.com
home => https://www.domain.com* table wp_#_options
siteurl => https://www.domain.com/#
home => https://www.domain.com/#* table wp_sitemeta
siteurl =? https://www.domain.com* table wp_site
domain => https://www.domain.com
path => /* table wp_blogs
domain => https://www.domain.com , path => /
domain => https://www.domain.com , path => /sub1/
domain => https://www.domain.com , path => /sub2/What else I am missing?
- The topic ‘How do I change the base URL?’ is closed to new replies.