1

I have a WP multisite installation like this:

  1. www.mysite.com
  2. www.mysite.com/anothersite

Now, I'd like to move www.mysite.com/anothersite to be www.mysite.com. Is it possible?

5
  • Is www.mysite.com the first site in your multisite setup?
    – Zypher
    Jun 28, 2013 at 14:43
  • @Zypher yes www.mysite.com is the first site in my multisite setup
    – Antonio Giungato
    Jun 28, 2013 at 16:27
  • So you did a subdirectory site and not a subdomain site? Jun 28, 2013 at 16:28
  • @MichaelHampton yes it's a subdirectory site
    – Antonio Giungato
    Jun 28, 2013 at 17:01
  • If this is possible, it will have to be done within WordPress. Jun 28, 2013 at 17:10

3 Answers 3

1

You should be able to export www.mysite.com/anothersite to a WXR file using Tools » Export in your WordPress backend -- www.mysite.com/anothersite/wp-admin. Then you can go to www.mysite.com/wp-admin, remove the existing content (delete your existing posts / pages / etc -- export them first if you want/need a backup) and then use Tools » Import to import the WXR file.

0
-1

Sure, all you need to do is change your web server's configuration to point www.mysite.com to the folder where www.mysite.com/anothersite resides.

2
  • Thanks. I'm wondering if I do this what will happen to the "network of sites" i created with Wordpress Multisite
    – Antonio Giungato
    Jun 28, 2013 at 15:23
  • In Multisite, /anothersite doesn't have a folder on the server; it's a fiction maintained by WordPress rather than an actual location.
    – Pat J
    Jun 29, 2013 at 14:49
-1

Yep, change the DocumentRoot of mysite.com so that points to the directory where are stored the files of anothersite, and restart the webserver.

1
  • In Multisite, /anothersite doesn't have a directory.
    – Pat J
    Jun 29, 2013 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.