user1287230
user1287230

Reputation: 125

wordpress site address is to a different site

I changed the site address in the settings of my wp page to a different site to see if it would send users to that specific page when they clicked the home banner. however it screwed everything up. Can i fix this in my ftp side of the house??

Upvotes: 0

Views: 60

Answers (1)

brasofilo
brasofilo

Reputation: 26065

Download the file wp-config.php, located at the root of your WordPress installation and add the following lines:

define( 'WP_SITEURL', 'http://yoursite.com' );
define( 'WP_HOME', 'http://yoursite.com' );

This assumes that your installation is in the root of the server. If it's installed in a folder, you have to adjust the address accordingly.

Upvotes: 2

Related Questions