New answers tagged

0

I usualy use : sudo chown -R _www:_www /path/to/wordpress/


0

wp_options isn't the only place you need to change the link, do the following : Go to the live site and download the plugin WP Migrate DB, it has really good interface so you will make it from there. The plugin will change all links and give you exported .sql file with them, without changing anything in the live site, then import the new database to ...


0

In the Wordpress settings, there are 2 locations to enter the WP site's URL. (See screenshot.) These are also stored in the wp_options table of the wordpress database. If they do not match the URL of your new server (in your case, 'localhost'), then you will get an error like this. If you can't access the settings page (because wordpress won't load), then ...


0

Here are the steps I do when I copy a Wordpress site (old/new version, live or local). Download all the wp-content/ directory and replace the files (nothing else) Rename the wp-config-sample.php in wp-config.php and adapt the environments variables to your new environment (database name, database user, database password...) Download the database's content ...


0

Simple solution for this problem would be to extract your database to .sql file. Then find http://localhost and replace it with http://yourip. Then drop previous database and re-import the corrected one. Please let me know if it worked for you.



Top 50 recent answers are included