WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change Primary Domain: Editing SQL database (5 posts)

  1. d_random
    Member
    Posted 3 years ago #

    I am using the tutorial on the below link to change the primary domain for my multisite:

    http://www.wordpress-website.org/2010/12/change-primary-domain-wordpress-multisite-network/

    I have opened the .sql database (a downloaded .gz file) in Step #4 in order to change to change all instances to the new domain, but when I open the database in Notepad all I see is gibberish.

    Is there an app that I can use to edit the sql database for this purpose?

  2. (a downloaded .gz file)

    gz is basically zipped. you need to uncompress it first. or download it in a zip, which is an option.

  3. d_random
    Member
    Posted 3 years ago #

    Thank you Andrea_r!
    I have not seen .gz file before, so that confused me.

    One additional question: The instructions say to change ALL instances of the old domain name to the new one. But I am coming across many instances that do not pertain to the database (i.e. comments).

    Is there a better way to do this besides using a text editor?

  4. text editors have search & replace. ;) at least, the ones better than notepad do.

    there's also search & replace plugins in the plugin repo.

  5. If you use windows, Notepad++ is free. Mac, try TextWrangler

Topic Closed

This topic has been closed to new replies.

About this Topic