Tag Info

New answers tagged

1

You'll want to add these to your wp-config.php file: define( 'NOBLOGREDIRECT', '' ); define( 'WP_HOME', 'http://dev.domain.com' ); define( 'WP_SITEURL', 'http://dev.domain.com' ); So in its entirety, you'll have: $base = '/'; /** Multisite / Wordpress Network **/ define( 'WP_HOME', 'http://dev.domain.com' ); define( 'WP_SITEURL', ...


0

You need to move all files from sub directory to the directory where sub domain is pointed. Then you need to make changes in database in *_options table. If you don't want to make changes in database then you should place below lines in your wp-config.php file. define('WP_HOME', 'http://subdomain.example.com'); define('WP_SITEURL', ...


0

There is a very specific process to moving a WordPress site. You need to move the files and folders and change the rewrite block in .htaccess. But you also need to change URLs in the database. See Moving WordPress « WordPress Codex and WordPress Serialized PHP Search Replace Tool.


2

blogs.dir isn't used for multisites created after WordPress 3.5. Instead everything exists in wp-content/uploads.


0

See here for a good discussion on the reasoning behind not changing it to JSON: https://core.trac.wordpress.org/ticket/23753


1

Data in the WP database is serialized. If you just do a search and replace you'll break your site. You need to reserialize your data as you change it. There are scripts and services that allow you to do a proper Search and Replace. My tool of choice is this one, and it works perfectly. There are also a couple plugins that work (like velvet blues), and I ...


0

You can use a plugin called Velvet Blues Update URLs. I use it all the time. https://wordpress.org/plugins/velvet-blues-update-urls/


0

Hi i am not sure on what method you followed to rename domain name but the standard method what i followed is 1.Download the Sql file from old database 2.renamed the domain name from old to new in your case ExplainingProgress.com to OurWorldInData.org use an code editor for simple find and replace 3.uploaded the new sql file to the server 4. Dont ...


0

You can use mysql command as: UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com'); and UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com'); Please try on a test site before!!!


0

I hope this helps: If the page is blank, there is an error. It is just being suppressed. Add to wp-config.php: define('WP_DEBUG',true); I own hundreds of WordPress sites and I have found I enjoy using a tool when possible. Duplicator or Backup Buddy work great for what you are trying to do. I am new to this site, so if this answer is at all helpful, ...


0

My experience with blank home page. Sometimes when you are migrating your page you can get blank home page. I found the problem with the home page not displaying from the base URL. it was because there was a default.html file in the root directory. The old hosting server must had set the order to look for start files to PHP extension as the first default ...


1

I use the plugin Duplicator. This will copy all files and databases in one package, migrate the databases,... You can even set up filters to exclude/include certain files. It takes 4-5 minutes to migrate everything to localhost and vice-versa.



Top 50 recent answers are included