If it one of the sites in the abc.com network, go to Super Admin -> Sites, find the test blog, click EDIT.
Edit the address there & save.
Thread Starter
ELMIT
(@elmit)
Unfortunately, that does not work.
The main site is GREY, I cannot change the URL there. I can change only in the sub-blogs.
I have setup the network as:
http://test.abc.com <– main site
http://test.abc.com/blog-1
http://test.abc.com/blog-2
http://test.abc.com/blog-3
http://test.abc.com/blog-4
Ah… it sounded like you wanted to change one of the sub sites,.
For the main domain, you need to do a search & replace in the entire database. Yes really. It’s even saved as part of the URLs for all the subsites too.
Thread Starter
ELMIT
(@elmit)
Since my blog site is just a couple of days old the easiest way was:
1. move the directory to the new place
2. exported with phpMyAdmin the entire database (including drop table statement)
3. opened the database dump with a text editor and with search / replace changed the string
4. imported the database with phpMyAdmin and replaced so all tables
Worked!
Thread Starter
ELMIT
(@elmit)
One part I was missing:
5. change wp-config.php
from:
define( ‘DOMAIN_CURRENT_SITE’, ‘test.abc.com’ );
to:
define( ‘DOMAIN_CURRENT_SITE’, ‘blog.abc.com’ );
(I hope it was all)
Thread Starter
ELMIT
(@elmit)
One part I was missing:
5. change wp-config.php
from:
define( ‘DOMAIN_CURRENT_SITE’, ‘test.abc.com’ );
to:
define( ‘DOMAIN_CURRENT_SITE’, ‘blog.abc.com’ );
(I hope it was all)