Comments on: 10 Things I Learned Migrating Websites to WordPress https://webdevstudios.com/2015/02/19/10-things-i-learned-migrating-websites-to-wordpress/ WordPress Design and Development Agency Mon, 15 Apr 2024 16:04:54 +0000 hourly 1 https://wordpress.org/?v=6.6.2 By: CJ Andrew https://webdevstudios.com/2015/02/19/10-things-i-learned-migrating-websites-to-wordpress/#comment-2251 Fri, 20 Feb 2015 21:12:36 +0000 http://webdevstudios.com/?p=10627#comment-2251 Thanks for a well written article, Marcus.

I’ve had similar thoughts about WordPress migrations; because I’m working my way through one just now.

Obviously not the same size as Microsoft, but I’ve had challenges too.

I started by using questionnaires, but somehow I feel I might be asking the wrong questions. This is because I’m still having to do a lot of the discovery myself.

Have you found this to be the case?

Also, what type of questions have you found to work best in a migration scenario? i.e. questions that help to increase the success rate of a migration.

I find that even after painstaking investigation, a lot of tidbits still have to be moved manually (to a degree).

Just as an aside, you mentioned the use of publicly available staging servers.

I think you’re right.

This is essential, because of what you said in reason a:

“your computer is too slow (period)”. Yep. so true.

The problem that I’ve found though is that sometimes the staging server is left accessible to Google.

What then happens is that Google indexes both the staging server, as well as the live server. End result is a problematic “duplicate content” issue.

I think that staging servers should be used, but care should be taken to prevent them from entering Google’s search index. Yoast has a great post that details how this should be done.

Essentially, Google will be asked to crawl the site, but *not* include it it’s search index. Works really well, from an SEO standpoint.

Thanks again for the great post. I’m tempted to write a corollary on my own blog; although I don’t think I’m qualified to do so yet.

All the best.

]]>
By: Marcus Battle https://webdevstudios.com/2015/02/19/10-things-i-learned-migrating-websites-to-wordpress/#comment-2250 Fri, 20 Feb 2015 19:59:05 +0000 http://webdevstudios.com/?p=10627#comment-2250 In reply to Ben Dorn.

Hi Ben, I haven’t used CMS2CMS so I can’t comment on it’s effectiveness. We normally write our migration scripts because in our experience we’ve found that no two systems are created equally. Also most of clients are using custom systems where automated processes won’t work.

]]>
By: Marcus Battle https://webdevstudios.com/2015/02/19/10-things-i-learned-migrating-websites-to-wordpress/#comment-2249 Fri, 20 Feb 2015 19:56:27 +0000 http://webdevstudios.com/?p=10627#comment-2249 In reply to wzy.

Hey wzy, what I would recommend is sanitizing the file name/orig url before you store it in the database and the modifying the function provided above in the redirect script so that wp_query searches for ‘any’ post type which would allow it to retrieve an image. Here’s an example:


// In your function where you save the original url, sanitize the filename before you store it
$cleaned_image_filename = santize_file_name( $image_filename );
update_post_meta( $post_id, ‘_orig_url’, $cleaned_image_filename );

// In the wds_redirect_old_traffic function update line 9
$request = santize_file_name( $wp->request );

// In the wds_get_post_id_from_external_url function update the following on line 35
$args = array(
'post_type' => ‘any',
'posts_per_page' => 1,
'post_status' => 'publish',
'meta_query' => array(
array(
'key' => '_orig_url',
'value' => $url,
'compare' => 'LIKE'
)
)
);

]]>
By: Marcus Battle https://webdevstudios.com/2015/02/19/10-things-i-learned-migrating-websites-to-wordpress/#comment-2248 Fri, 20 Feb 2015 19:32:53 +0000 http://webdevstudios.com/?p=10627#comment-2248 In reply to David McCan.

Thanks David! Glad that you enjoyed!

]]>
By: David McCan https://webdevstudios.com/2015/02/19/10-things-i-learned-migrating-websites-to-wordpress/#comment-2247 Fri, 20 Feb 2015 16:16:52 +0000 http://webdevstudios.com/?p=10627#comment-2247 Excellent and very thorough. Thank you.

]]>
By: Ben Dorn https://webdevstudios.com/2015/02/19/10-things-i-learned-migrating-websites-to-wordpress/#comment-2246 Fri, 20 Feb 2015 11:46:44 +0000 http://webdevstudios.com/?p=10627#comment-2246 What about using automated services, like CMS2CMS ? Did you try it?

]]>
By: wzy https://webdevstudios.com/2015/02/19/10-things-i-learned-migrating-websites-to-wordpress/#comment-2245 Thu, 19 Feb 2015 20:59:06 +0000 http://webdevstudios.com/?p=10627#comment-2245 Do you have any advice as how to best handle a redirect for images if the original URL contains spaces (“%20”)? That is the only part I am hung up on.

]]>