Transfer blogger blog to wordpress while preserving archiving

Transfer blogger blog to wordpress while preserving archiving. In this topic, we will explain in the video how to transfer the blog from the Blogger platform to the giant WordPress platform on a very powerful hosting, which is vultr hosting, without affecting archiving or corrupting links.

نقل مدونة بلوجر الى ووردبريس

How to transfer blogger blog to wordpress in detail

The general idea in the transfer process is to buy a new hosting from vultr and install the control panel on it, then link the domain to the hosting via DNS records. Then, activate the ssl certificate, transfer the blogger content to wordpress, then change the links to the old blogger links so that we do not lose the archive.

Code to change wordpress links to blogger

add_action( 'init', 'wpb_update_slug' );
function wpb_update_slug() { 
global $wpdb;
$result = $wpdb->get_results("SELECT post_id, meta_value FROM $wpdb->postmeta WHERE meta_key = 'blogger_permalink' ");
foreach ($result as $row){
$slug = explode("/",$row->meta_value);
$slug = explode(".",$slug[3]);
$wpdb->query("UPDATE $wpdb->posts SET post_name ='$slug[0]' WHERE ID = '$row->post_id' ");
echo "DONE";

vultr registration link

Steps to transfer the Blogger blog to WordPress while preserving the archive

1- Take a backup copy of the content in Blogger
2- Delete the domain from Blogger
3- Open a vultr account to buy powerful hosting

4- Install plesk cpanel
5- Installing the domain on the new hosting
6- Add the new hosting IP in the domain name plate DNS
7- Wait until the DNS is activated and the domain is created on the new hosting
8- Install the ssl security certificate from the hosting
9- Installing WordPress on the domain while keeping the data. Login to WordPress – ftp – the database
10- It was the turn of importing content from Blogger and maintaining the archive
Method: We will only use the Blogger Importer add-on with the link conversion code from the template editor, template properties.
Congratulations, I moved your site from Blogger to WordPress on a very strong hosting while preserving all articles with their links and archiving.
11- Activate ads on the new blog in WordPress and add the ads.txt file
12- Create a sitemap in the new form of WordPress sitemap_index.xml – post-sitemap.xml
13- Explanation of adding Rank Math SEO and how to write an article suitable for SEO in a separate video
14- Make a backup from the site periodically in the event of problems or if it is transferred to another hosting

Leave a Comment