migrating from IP to real url
-
I am moving my multisite from an IP (https://69.162.148.145/~interlum/) to my real url https://www.interluminaires.com. The problem that I have right now is that whenever I type https://www.interluminaires.com I am redirected to https://69.162.148.145/~interlum/. I changed my DNS this afternoon (Thursday). Was hosted somewhere else before.
I read about how to move my multisite but somehow there are things that are not 100% clear to me right now.
Here is my old wp-config.php :
define('MULTISITE', true); define('SUBDOMAIN_INSTALL', false); $base = '/~interlum/'; define('DOMAIN_CURRENT_SITE', '69.162.148.145'); define('PATH_CURRENT_SITE', '/~interlum/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1);
I figured that
$base = '/~interlum/'; define('DOMAIN_CURRENT_SITE', '69.162.148.145'); define('PATH_CURRENT_SITE', '/~interlum/');
need to become (am I right?)
$base = '/'; define('DOMAIN_CURRENT_SITE', 'https://interluminaires.com'); define('PATH_CURRENT_SITE', '/');
what about my .htaccess right now it’s set at :
RewriteEngine On RewriteBase /~interlum/ RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L] RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L] RewriteRule . index.php [L]
what needs to be changed since I am moving from /~interlum to /
what about database I know I have to change references to https://69.162.148.145 to interluminaires.com but is to https://interluminaires.com or https://www.interluminaires.com
I know/hope someone know those answers
- The topic ‘migrating from IP to real url’ is closed to new replies.