relaunching old WP with new domain/brand, how do you change config file ?

2 replies
  • WEB DESIGN
  • |
Hey guys,

So I'm using the bones of a former wordpress website to relaunch niche site and so I pointed the domain to the Ip following uploading the xml into the host. So everything is setup but it appears in the code there is left over stuff for former domain. The help deask said this:


wordpress configuration file you will need to update the database info there, since it was imported. And in cpanel under mysql databases be sure you have added the user with full privileges as well.

So I updated the privileges in the mysql section. In the XML file itself what would I need to change? Is it just everywhere the old domain is stated? Thanks for everyone's time I appreciate it.
#change #config #domain or brand #file #relaunching
  • Profile picture of the author Clarence Chan
    Were you able to update the database info from your wp-config.php file? You will have to update the following code here and add the new ones

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define( 'DB_NAME', 'database_name_here' );

    /** MySQL database username */
    define( 'DB_USER', 'username_here' );

    /** MySQL database password */
    define( 'DB_PASSWORD', 'password_here' );

    /** MySQL hostname */
    define( 'DB_HOST', 'localhost' );
    {{ DiscussionBoard.errors[10919787].message }}
  • Profile picture of the author kushmanmediallc
    thanks, I got it!
    {{ DiscussionBoard.errors[10937096].message }}

Trending Topics