Skip to main content

Migrating your WordPress Site to Stanford Domains

Categories: General Info., Getting Started

If you have an existing WordPress site on AFS (or another hosting service) you can migrate your site to Stanford Domains.

Getting Started

Install and activate the All-In-One WP Migration plugin on your existing WordPress site.

It’s a good idea to make a backup copy of your current site and update it to the latest version of WordPress before migrating it.

Setup your Stanford Domains account and install WordPress.

  1. Go to
  2. Click Get Started and log in with your SUNet ID and password. 
  3. Go to your Dashboard and choose a free subdomain name, e.g., [subdomain]
  4. Create a new WordPress site by clicking on the WordPress icon.
  5. Visit your new site to ensure the installation was successful.


For issues with not having enough memory, please review the section on the Adjust PHP parameters (upload size) in Stanford Domains migration.

If you have custom directories on your sites. (not parts of the WP folders), you will need to copy these files/folders to Stanford Domain manually.

Install and Active the All-In-One WP Migration Plugin

  1. Login to your current WordPress site.
  2. In the left-hand menu, click Plugins.
  3. Click the Add New button.

4. In the search box, type All-in-One WP Migration

5. Select the plugin and click Install Now.

plugins install

6. Click Activate.

activate plugin

Export your current site

  1. Login to your current WordPress site.
  2. In the left-hand menu, click All-in-One Migration and select Export a File. Be sure to note the file name.
export site

3. Identify the location of the exported file on your desktop/laptop and note the size of the file.

4. You will see the progress of the export process. When it has completed, click Close.

progress of export site

Import your old site to Stanford Domains

  1. Login to your WordPress site on Stanford Domains.
  2. In the left-hand menu, click All-in-One Migration and select Import.
import site to stanford domains

3. Browse and select the file you exported from AFS (or other web host). You will see a progress bar as the file is importing.

import progress bar

4. Click Finish.

If you get an error about not having enough memory, you will need to adjust the PHP parameters (upload size).

imported successfully screenshot

Adjust PHP parameters 

  1. Login to your Stanford Domains dashboard.
  2. Under Software, click MultiPHP INI Editor.
adjust PHP parameters

3. Under Configure PHP INI basic settings, in the Select a location dropdown box, select the domain you want to change.

configure PHP INI settings

4. Adjust the size in the upload_max_filesize box and click Apply to commit the change.

apply changes

Final Checklist

  • Is the site URL secure HTTPS? If it isn’t, you will need to change it in the database. See Changin the site URL.
  • Click through the site’s top nav pages to make sure there are no server errors blank pages. 

Need More Help?

More information about the All-in-One Plugin

Submit a Help Request