If you are running Blogger blog and now wants to upgrade your blogging experience by moving to self-hosted WordPress blog, then you can’t forget your old blogger posts on which you spend daily hours. Yes, you can migrate your posts and stuff from Blogger to WordPress by following simple steps that i also used for migrating my blog to WordPress.
First of all, you need to buy hosting and domain name from good provider. I recommend DreamHost or BlueHost as my blog is also running on Bluehost server and i am having a great experience with that. After getting Hosting and Domain, you need to install WordPress on your site from the cPanel.
Once you have installed WordPress on your site, open your WordPress dashboard by entering to (http://www.yourdomain.com/wp-admin) in your address bar. Now, you are welcome to your new office (dashboard).
Note: In case, the importing tool stops somewhere then you need to press ‘Importing button’ again then refresh the page of your browser, then press import again. Don’t forget to delete Blogger Importer plugin.
This will completely import blogger posts to WordPress blog. Now you have to either redirect old blogger blog traffic to WordPress or Delete Blogger blog after importing (Recommended).
Before redirection, you need to remove custom domain from blogger dashboard from Settings tab (example: xyz.com) such that it looks like (xyz.blogspot.com). Then, go to Templates section and click revert template from bottom. Enter the following code there (above) and save changes. Note: Don’t forget to replace “geeksflame.com” with your WordPress site url.
[toggle load=”show”]
[/toggle]
Then, open notepad from your computer and copy the following code into it then, save it as bloggerposts.php file. Remember to replace geeksflame with your site domain.
[accordions] [accordion load=”show”]
require($_SERVER[‘DOCUMENT_ROOT’].‘/wp-blog-header.php’);
$search_link = $_GET[‘p’];
$vars = explode(‘/’, $search_link);
$num = count($vars) – 1;
$filename = $vars[$num];
$slug = str_replace(“.html”, “”, $filename);
$SQL = “SELECT posts.* FROM $wpdb->posts AS posts WHERE posts.post_name = ‘$slug’ LIMIT 1”;
$posts = $wpdb->get_results(“$SQL”);
if ($posts) { foreach ($posts as $post) { $found_link = get_permalink($post->ID); } } else {
$found_link = “https://geeksflame.com/”; } ?>
“refresh” content=“2;url= php echo ($found_link); ?>”>
[/accordion] [/accordions]You can also go immediately to –
[toggle load=”show”]
“”>.
The main blog URL is “https://geeksflame.com/”>www.geeksflame.com/.
[/toggle]
If you followed above steps correctly, then you have migrated your blog from blogger to WordPress successfully with permanent 301 redirection.
If you are getting any problem then let us know in comments!
When a work injury suddenly keeps you from earning a paycheck, life can feel uncertain… Read More
In today’s digital age, having fast and reliable internet is essential for work, entertainment, and… Read More
When picking a shipping partner, price is often the deciding factor. Meest rates for international… Read More
The retail landscape is undergoing a remarkable transformation, thanks to the integration of IoT devices… Read More
In the rapidly evolving world of industrial technology, sealing solutions have undergone significant transformations. Modern… Read More
In today's fast-paced digital world, knowing how to maintain your privacy while browsing the internet… Read More
This website uses cookies.