Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Switch From Blogger to WordPress Without Losing Google Rankings

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to migrate your blog from Blogger to WordPress?

While Blogger is a neat free tool to start blogging, many beginners soon realize its limitations, and they want to switch to WordPress to get access to more powerful features.

In this article, we will show you how to properly switch from Blogger to WordPress without losing Google rankings.

Switching from Blogger to WordPress

Why Move From Blogger to WordPress?

Blogger is a popular blogging platform created by Google. It allows anyone to create a free blog using their Google account.

However, many beginners soon realize that there are a lot of limitations on what they can do with their free Blogger blog.

WordPress, on the other hand, gives you complete ownership of your website. It also allows you to add the necessary features to grow your blog and monetize your content. Plus, you can perform all the SEO optimizations to rank higher. We have created a detailed side-by-side comparison of WordPress vs. Blogger.

It’s important to note that when we say WordPress, we are talking about self-hosted WordPress.org, which should NOT be confused with WordPress.com, which is a hosted solution that has its own limitations. For details, see our article on the difference between WordPress.com vs. WordPress.org.

WordPress.org is the popular “WordPress” platform that you have likely heard about because it powers 43% of all websites on the internet.

That being said, let’s take a look at how to properly move from Blogger to WordPress while preserving your Google search rankings and website traffic.

Here are the steps that we will use to transfer from Blogger to WordPress:

Ready? Let’s get started.

Video Tutorial

Subscribe to WPBeginner

If you don’t want to watch the video tutorial, then you can continue reading the text version below.

Step 1: Sign up for WordPress Hosting

To get started with WordPress, you will need a domain name and web hosting.

For a quick reminder, a domain name is your website’s address that people type to get to your blog, and web hosting is where your website files are stored. Both of these are a MUST-HAVE to create any type of blog or website.

With that said, we recommend using Bluehost. They are one of the largest hosting companies in the world, and they are an officially recommended WordPress hosting partner.

Because WPBeginner is the largest WordPress resource site, they have agreed to offer our readers a free domain name and a 60% discount on hosting. Basically, you can get started for just $2.75 per month.

If, for some reason, you would prefer to go with a Bluehost alternative, then we recommend using either SiteGround or Hostinger because both are excellent solutions.

Once you have signed up for WordPress hosting plan and set up your domain name, you can go ahead to WordPress installation step.

If you signed up with Bluehost using our link above, then WordPress will be automatically installed for you.

If you used a different WordPress hosting provider, then you need to install WordPress by following our ultimate guide on how to install WordPress.

After you have installed WordPress, it is time to move your content from Blogger to WordPress.

Bonus Free Offer: Since a lot of you asked for this, we are now offering a free Blogger to WordPress migration service as part of our free WordPress blog setup service. This means one of our expert team members will do the entire migration for you (100% free). Yes, you can literally switch from Blogger to WordPress without any risk.

Note: Our free blogger migration service is for smaller blogs that have less than 1000 blog posts. We can offer a migration service for larger blogger sites, but that will be a paid service.

However, if you are someone who likes learning and doing things yourself, then you can follow our step-by-step tutorial below.

Step 1: Export Your Blogger Blog

The first thing you need to do is export your Blogger blog’s content.

You can do this by visiting the Blogger website and logging into your account dashboard.

After that, go to the Settings page. Scroll down to the ‘Manage Blog’ section, and click the ‘Back up Content’ button.

Backup Blogger content

This will bring up a popup showing what exactly is included in the Blogger backup.

You need to click on the ‘Download’ button to continue.

Download blogger backup

Your Blogger blog’s content will be downloaded to your computer in an XML file.

Once the download is complete, it is time to import your Blogger content into your WordPress site.

Step 2: Import Blogger to WordPress

To start importing your Blogger site into WordPress, log in to your WordPress admin area and visit Tools » Import.

On the Import page, go ahead and click on the ‘Install Now’ link below Blogger.

Install Blogger importer for WordPress

WordPress will now download and install the Blogger Importer plugin for you.

Once it has finished installing, you need to click on the ‘Run Importer’ link to continue.

Run Blogger importer

WordPress will ask you to upload the XML file on the Import Blogger screen. This is the file that you downloaded in Step 1.

Simply click the ‘Choose File’ button and upload the XML file you downloaded earlier.

Next, click on the ‘Upload file and import’ button to continue.

Upload the file to import

WordPress will now upload the import file. If your import file is too large, then you may see an error message.

In this case, you will need to increase your maximum file upload limit. If your file is small, then you won’t see any errors.

Next, you will be asked to assign posts to an author. If you have multiple authors on your Blogger blog, then you can create a new user account for each author. You can also assign these posts to existing authors on your WordPress website.

Assign authors

After making your selection, click on the ‘Submit’ button to continue.

WordPress will import all content from the Blogger export file to your WordPress site. You can view the content by visiting the Posts » All Posts page.

Imported content on your WordPress blog

Permalinks is the term used for the URL structure of individual pages. WordPress comes with a feature that allows you to set up an SEO-friendly URL structure.

Since you are importing content from Blogger, you need your URL structure to be as close to your old Blogger site’s URL structure as possible.

To set permalinks, you need to go to Settings » Permalinks in your WordPress dashboard and choose the ‘Custom Structure’ option.

After that, you need to add the following text in the box next to the custom structure field:

/%year%/%monthnum%/%postname%.html
Setting up permalinks

This permalink structure makes your blog post URLs similar to the URLs on your old Blogger blog.

However, sometimes your blog post URL, also known as a slug in WordPress, will not match the slugs used by Blogger.

To fix this, you will need to create and run a little code snippet.

We recommend adding this PHP code using the WPCode plugin. It is the safest way to add custom code to your WordPress website. For more details, please see our guide on how to copy and paste code snippets in WordPress.

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' ");
$wpdb->print_error();
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";

}

After saving the code, you just need to visit any page on your WordPress site to trigger this script.

Important: After the script has run, don’t forget to disable or delete it from your WPCode library because it only needs to run once.

Bonus Free Offer: Don’t want to deal with code? We have got you covered. Since many of you asked for this, we are now offering a free Blogger to WordPress migration service as part of our free WordPress blog setup service.

This means one of our expert team members will do the entire migration for you (100% free). Yes, you can literally switch from Blogger to WordPress without any risk.

Step 4: Set Up Redirects From Blogger to WordPress

The most important step in moving any website is to set up proper redirection so that you don’t lose any existing traffic or SEO rankings.

Note: If your Blogger blog has its own custom domain instead of blogspot.com, you may need to point your domain nameservers to your hosting provider. For instructions, please follow our tutorial on how to switch custom domain blogger blog to WordPress.

The crucial part of the redirection is to ensure that your users land on the same page on the new domain they were trying to access on the old site.

At the same time, you also need to ensure that search engines understand that your website is moved to this new location.

You need to install and activate the Blogger to WordPress Redirection plugin to do that. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you need to visit the Tools » Blogger to WordPress Redirection page and click on the ‘Start Configuration’ button.

Get the redirection code

The plugin will now detect the URL of your Blogger blog and show you the option to get a redirection code. Go ahead and click on the ‘Get Code’ button next to your Blogger URL.

It will now generate a code snippet that you need to properly redirect users from your old Blogger blog to your new WordPress site.

Next, you need to log in to your Blogger dashboard and go to the ‘Themes’ page. Click on the dropdown arrow on the ‘Customize’ button next to your theme, and then select the ‘Edit HTML’ option.

Edit blogger theme code

Blogger will now display the custom HTML code for your theme template. If you made any customizations to your Blogger theme, then you may want to copy the code and save it on your computer as a backup.

Otherwise, you can just go ahead and delete everything. After that, copy the code displayed by the plugin on your WordPress site and paste it into your Blogger theme editor.

Blogger theme editor

Don’t forget to click on the ‘Save theme’ button to store your changes.

Next, we need to set up redirects for mobile users.

You need to go back to the Themes page in your Blogger blog’s dashboard. This time you need to click on the gear button below the mobile preview of your blog.

Change mobile theme settings

This will bring up a popup where you need to select the ‘No. Show desktop theme on mobile devices’ option.

Then, click on the ‘Save’ button.

Disable mobile theme

That’s all, your Blogger blog will now redirect all your blog visitors to your new WordPress blog.

Alternatively, you can also use All in One SEO (AIOSEO) to redirect posts and pages from Blogger to WordPress. The plugin offers a powerful redirection manager feature that lets you set up full site redirects to your new site.

Plus, you can enable 404 error tracking and catch any broken links that may occur when moving your site to WordPress. This will help improve the user experience, and you won’t lose keyword rankings.

Step 5: Moving Other Content From Blogger to WordPress

In this step, we will move the remaining content from the old blog on Blogger to your new WordPress blog. This may require some manual work, depending on the settings/content of your blog.

1. Moving Pages From Blogger to WordPress

WordPress’s Blogger importer tool only imports Blogger posts and ignores pages.

To move your pages into WordPress, you will have to edit each page in your Blogger blog, copy its contents, and then manually create a page in WordPress.

To learn more about pages, see our article on the difference between posts vs. pages in WordPress.

Now, you will come across another issue. The Blogger pages have URLs that look like this:

http://example.blogspot.com/p/about-us.html

Your WordPress page URL will look like this:

http://example.com/about-us

To fix this, you will need to use the All in One SEO (AIOSEO) plugin. For instructions, please see our beginner’s guide on creating redirects in WordPress.

2. Widgets

Like Blogger, some WordPress themes also utilize widgets to add content to your blog’s sidebar.

To add widgets, you need to visit the Appearance » Widgets page in your WordPress dashboard and simply drag/drop widgets into the sidebars. For detailed instructions, see our guide on how to add and use widgets in WordPress.

If you are looking for a specific widget you don’t see in WordPress by default, then you likely need a WordPress plugin. You can search WPBeginner’s best WordPress plugin category to find the functionality you want.

3. RSS Feeds

Search engines and users who subscribe to your blog posts via RSS feeds will still be able to find your blog. However, they will not get any new content.

To fix this, visit the Settings page under your Blogger account. Next, scroll down to the ‘Site feed’ section and click on ‘Post feed redirect URL’.

Redirect Blogger RSS feed

This will bring up a popup where you need to add the RSS feed URL of your WordPress website.

Your WordPress feed URL will look like this:

http://example.com/feed

Don’t forget to replace example.com with your own domain name.

Add feed URL

Click on the ‘Save’ button to add the URL and save your settings.

Step 6. Things to Do After Migrating From Blogger to WordPress

Now that you have successfully moved your Blogger blog to WordPress, let’s take a look at what else you can do to improve your blog.

We have created a checklist of the most important things you need to do after installing WordPress.

WordPress is quite easy to use. However, you’ll occasionally discover new things that you may need help with. This is where WPBeginner comes in.

WPBeginner is the largest free WordPress resource site in the world. We regularly publish tutorials and guides written specifically for bloggers and small businesses.

Here are some of the useful resources that you will find on WPBeginner (all of them are free):

  • WPBeginner Blog – The central place for all our WordPress tutorials and guides.
  • WPBeginner Dictionary – Our WordPress glossary is the best place to familiarize yourself with the WordPress lingo
  • WPBeginner Videos – New WordPress users can start with these step-by-step videos to master WordPress.
  • WPBeginner on YouTube – Need more video instructions? Subscribe to our YouTube channel with more than 291,000 subscribers and 50 Million+ views.
  • WPBeginner Blueprint – Check out the plugins, tools, and services that we use on WPBeginner.
  • WPBeginner Deals – Exclusive discounts on WordPress products and services for WPBeginner users.

We hope this article helped you switch from Blogger to WordPress without affecting your Google search rankings. You may also want to see our ultimate step-by-step WordPress SEO guide for beginners and our expert picks for the best WordPress plugins to help grow your blog.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

779 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Niveditha says

    Hi, I could successfully migrate from blogger to wordpress. But there seems to be a problem with RSS feed. The subscription mail of the new posts are not coming. How can I solve this problem. Pls help!

  3. Nicole says

    Thank you for these instrucionts-I have finished with step 4-the first step. I added your code and the visitors are redirected to my new website. But it takes a while until the page is loading and there are displayed some numbers. 01 02 03 04 05 on the screen. It looks not so nice—could it be replaced-or how to make it faster?

    I also dont know how to do the last step with the php-code. My enfold theme has a functions-php and a functions-enfold.php. I already tried the code at the end of the functions.php-with no effect. I deleted it again.

    Could you give me a hint what to search for or to test?

    Thank you in advance
    Nicole

  4. Dipankar says

    Thank you so much! migration is successful .

    now please tell me what to do with sitemap of old blogger as well as wordpress?

  5. Gurunath says

    Hi, I have done the process of Blogger to WP migration step by step and I did get migration successfully. But the problem is I have done all the plugins and theme customization and while doing configuration of Yoast SEO Plugin and exactly when I was adding the google webmaster tools verification and when pressed the save button it said “can’t verify site” and the site is down. now when I am entering the URL from the blog spot or direct url..it is asking for install WordPress thing …how to solve this? please help it out

  6. Mahesh suthar says

    I have migrated from blogger to wordpress, i was having custom domain, but after migration my older links with custom domain are not redirecting to the newer link generated in wordpress. I have changed the permalink as per your article. Please help me.

  7. Timmy Brain says

    I’d followed the guide duly but the import blogger plugin gives me an error note of some lines are missing.

  8. Abigail says

    I have tried EVERYTHING I can to try to redirect my blogger to wordpress site. I have input the code you have on here multiple MULTIPLE times, and I can’t for the life of me get it to work. The worst part is, now my old blogger blog is GONE and now my readers aren’t going to know what is going on. If you could please email me I would really appreciate it.

    • WPBeginner Support says

      Hi Abigail,

      If you followed the instructions, then your old Blogger blog isn’t gone. It is still there and you can switch back to it. Simply login to your blogger dashboard, go to Templates. Click on the Upgrade Template button and then select a new template for your blogger blog. Your Blogger blog will now become visible again.

      However, we believe that you probably still want to move to WordPress. We will advice you not to give up, there is probably some tiny thing that you are missing. Follow the steps carefully again, and you will be able to properly redirect your readers to your new WordPress site.

      Good luck

      Admin

  9. Samuel says

    My website is not opening after i updated it. Hello please i need help on this; i login to my wp-admin dashboard and see a notification message from wordpress that i’m using an whole version of wordpress that i should upgrade to the latest version. I follow the instruction to updates my wordpress sites but after a successful update my webpages are not opening again. It will just be loading and reloading without anything displaying. And why it is loading it will be displaying a blink of blogger icon.

    • Sheetal says

      Hello, Satish Kindly contact your web hoster. Even I used to get this error and bluhost resolved it.

  10. LIz says

    I was fine until I went to settings and there is not migrate blog only delete and back up? What now?

  11. Mike Gil says

    Howdy.

    First thanks for this tutorial, Im done migrating my site from blogger to wordpress. The problem is when I search my posts on google and click a link from blogger, it will redirect me to wordpress with .html on the link so it gibes error 404. I hope you can help me.

    Thank you.

  12. Gagan kamboj says

    I have imported all the blogspot content to wp ….. Now should i delete the blogger blog??

  13. Andrew says

    Hey, I got everything over and redirected just fine. Thanks for the great videos!
    But, I realize I need to get more info off the blogspot site. I am being redirected even from withing the blogger console. How do I access my blogger site now that the redirects are up?

    Thanks!

  14. md qureshi says

    after transfer my blogger blog to wordpress in the google search when i click on post a 404 page not found show how can I fix them?

  15. Navdeep says

    I have a custom domain name setup on my blogger blog. Do I have to first remove it from my blog to follow the above steps? Please help.

  16. Rajesh says

    I had successfully imported my blogger.com blog into my wordpress website. it was very helpful thanks for this wonderful help. Now if i post a new blog at blogger .com then will it automatically feed into website. or should i posts on my website only. i posted a new post on blogger.com but that post didn’t feed in website. please guide me. thank you.

  17. Tonya Wilhelm says

    Thank, you. I’m going to try…a bit scared! This won’t be considered duplicate content, will it? It will disappear from blogger and move to wordpress?

  18. Nixy says

    Hi,

    Thanks for your wonderful tutorial.

    I have migrated my blogger blog to WordPress. But I have 2 specific problem. Can you please help?

    1) If I search my blog from a mobile device, and click the link, redirect doesn’t happen.
    2) I have 2 pages on my blogger blog. Say About and Contact, but the redirection doesn’t happen for them.

    Your help will be highly appreciated.

    With thanks,
    Nixy

    • John says

      If the mobile redirect does not work, try to disable the mobile template first (before reverting to the classic template in step 4). This should prevent blogger from adding “?m=1” to the URL, which is why the redirect from mobile doesn’t happen. Hope that helps!

  19. Jamal says

    Hello! Thanks for the post, very helpful.

    One thing though. On Redirect Checker it says that my redirect is a 303 one

  20. Cat Larkin says

    When editing your functions.php file – will those edits hold when you update your theme or when you do WordPress updates, or do you have to do this each time you update? Or do I need to be working with a child theme?

    Also – If I plan to change themes, should I do that before I make the change to the functions.php – thus only doing it once?

    Great tutorial – thanks

    • WPBeginner Support says

      Your theme’s functions.php file will get overwritten when you update the theme. To deal with this you can create a child theme and add custom code to child theme’s functions.php file. However, if you switch themes then you will have to copy paste the code.

      Another approach is to use a site-specific plugin. It remains out of your theme and does not get’s in the way when you update any WordPress core, plugin, or theme files.

      Admin

    • Lemonberry says

      I also don’t see an export button, only an Import button and a Back up Content button and was wondering if there is something I’m missing…?

  21. Ali Asghar says

    Hey, currently my blog is and I want to shift it to
    1) Is it possible?
    2) Will the total views would show too or we would have to start from 0?
    Kindly please reply to my question :)
    Great post and great video! :)

  22. aravind says

    I have a question. After blogger to wordpress migration and redirection, What to do with blogger posts? I can delete them?

  23. karamath says

    I was thinking to hire some one to migrate my blog but now iam capable of migrating myself.

    I will also post my experience of migration process. Really helpful post.

    Thanks.

  24. Lucy Edwards says

    Thanks for this- I’ve taken all the steps but the redirect doesn’t seem to be working properly for me. It works on a desktop computer, but from mobile devices the link still take you to my old blog. Any ideas what has gone wrong?

  25. Sheetal says

    Thanks for this article. I have successfully migrated my blogspot blog to wordpress. I just wanted to know that should I deactivate blogger importer plugin or not ? Thanks :)

  26. Gail says

    Thank you a million times over! I really am new to all this, but your step by step tutorial on how to switch to WP worked for me the very first time! My redirects and everything (at least that I’ve checked so far) are working great! Thank you again, you made this so much easier than what I expected!

  27. Jen says

    Thank you so much for the awesome tutorial! It was easy to follow. But I only have one problem. Some of my pictures didn’t transfer and I did Step 6. I think it may be because those pictures were from my Google Drive. Is there a way to transfer them or would I manually have to upload those images again? Thanks for your help.

  28. Paige says

    Love this site so much! So question is when I copy and paste the lines get all jumbled when I try to paste it into my php thingy. I deleted it because I was scared I would blow something up on my site. Is there a way to make my paste look like what I copied?

    • WPBeginner Support says

      Take your mouse over to code snippet on our site and you will see a viewsource button at the top right corner of the snippet. Clicking on it will open the source code in new popup window. Copy that code and then paste it.

      Admin

  29. Rena says

    PLEASE HELP! I did everything your post and video says but for some reason when I click on an old link for a specific post, it redirects to the .com but to the homepage, not the actual post.
    How can I fix this?
    For example, which I click on this-

    it brings me to this-

    THANK YOU!!!

    • satz says

      make sure the destination of your wordpress post slug are the same with your old blogger post slug. for example if your blogpost url are example.blogspot.com/2016/05/your-post-slug.html then make sure your wordpress url are example.com/2016/05/your-post-slug/

  30. Bharat says

    window.location.href=”http://example.com/?blogger=”

    These lines of code are giving an error in blogger.

    Error parsing XML, line 3, column 11: The content of elements must consist of well-formed character data or markup.

  31. Christopher says

    I’m having issues on the 301 redirection. I’m Using News pro genesis child theme, should i paste the code in the function.php of the child theme or function.php of Genesis frame work?

  32. Barry O'Leary says

    Thanks so much have managed to migrate a blog of over 200 posts to a new one and not lost anything. Great stuff! Thanks.

      • Heike says

        Yes, I uploaded another plug in that transfered the photos too. Unfortunately, now all posts are double, with the same publishing date. This means I get to go back and reminisce while I delete doubles! Still, I appreciate the tutorial, it really helps to have both the video and written instructions. Also, why do I have to go into the FTP for each template? You mentioned if I change templates, to do this again?

  33. Susan says

    Hi there. I’m really frustrated. I posted a comment on Apr. 6 but haven’t heard back from anyone.

    I followed the instructions on how to switch from blogger to wordpress. And I made a site-specific plugin because I was nervous about messing with the functions.php code to put in that redirect code.

    Here’s the problem: with that site-specific plugin activated on my website (susansinthegarden.com), if I click on a link to a blog post that was on my old blogger site, it redirects to my new homepage… which is great, but my goal is to have a person go directly to the SAME post on my new website and not to my homepage.

    What am I doing wrong? I’m losing sleep over this so please help ASAP! (and if anyone else sees this and knows what’s wrong, please comment. I’d really appreciate it!) Thanks.

      • Susan says

        Hi, Christopher. I’ve heard from anyone about this. Have no idea how to solve this problem as I’ve done everything to the letter. Very frustrating. I wish someone would help us out with this problem. Sooo, if anyone out there experienced this, would you please let us know how you solved it so folks are directed from an old Blogger post to the SAME post on WordPress? Thank you.

        • Christopher says

          Hello, Susan. Hope you are good?

          I was able to redirect mine but I had to purchase Yoast SEO premium . Yoast did all the redirection for me.

    • Kris says

      I’m having the same problem Kadi is having – blogger doesn’t give me the “import/export” option, just “delete blog”. Would love to hear how to export from blogger to WP or it’ll be a lot of cut & pasting. :) Thanks!

    • Christopher says

      Above “Delete Blog” you should see ‘Import Content’ and “Backup content”. Just click on Backup content. Hope it works for you.

  34. balu says

    Hello! Editorial Staff.
    I have a problem.
    I recently migrated from blogger to wordpress as you said in this tutorial. And also done changes in blogger template and in feed redirection. But posts are not redirecting from search results and also in post internal links.
    What is the problem. I have also blogger custom domain. What to do?

  35. Susan says

    I have a question re: setting up the permalinks. On blogger, this is the format of the links to my blog posts:

    domain/yyyy_mm_01_postname.html

    On WordPress, this is the format of the links to my blog posts:

    domain/yyyy/mm/postname

    So the differences are the underscores on blogger, plus the day, plus the “.html” on the end.

    How would I resolve this? Do search engines automatically “translate” the underscores into slashes? And do they ignore the “.html”?

    If this is the case, perhaps I would need to make a custom permalink that is something like this:

    /%year%/%monthnum%/%daynum%/%postname%/

    Could this work? Thanks in advance for your help.

  36. Adam G says

    Thanks for the info– however, my blog is currently on blogger as its own domain name. How do I do the redirection if I’m going to switch the name over to wordpress as well?

    My blog is currently I use blogger, but want to switch to wordpress, but continue to use

  37. Martyna says

    Any of you experiencing 403 error after all of this. Contacted the domain hoster and said it probably the issue with the plugin that being used. Anyone else experienced that?

  38. SMLocke says

    Thank you so much for this post, it is just what i was looking for. However, I am having an issue withe the 301 redirects. When a page is redirected, it is looking for domain.com/path/post-title.html whereas the permalinks in wordpress are domain.com/path/post-title/. That is, to be more succint, the URI ends with a ‘/’ instead of ‘.html’. Is there a way to remedy this.

    • Susan says

      Hi, SMLOCKE. Did you get a response on this because I’m having the same problem with the lack of an .html causing a 404 not found error. Thanks.

    • Kareem says

      Use the following customized permalink:
      /%year%/%monthnum%/%postname%.html

      It worked for me.

      Thanks.

      • Stacy Ann says

        Can I say I love you to a stranger? Thank you so much! That custom link did the trick! I even called my hosting support and they couldn’t! You are awesome!!!!!!

  39. Archna says

    Hi,

    I’ve done everything explained above but stuck in the wordpress 301 redirection process

    Error:
    Parse error: syntax error, unexpected ‘<' in /home/manage1991/public_html/wp-content/themes/aqueduct/functions.php on line 446

    /*————————————————————-
    Redirection Code for Posts
    —————————————–*/
    <?php ////Line 446

    function blogger_query_vars_filter( $vars ) {

    $vars[] = "blogger";

    return $vars;

    }
    .
    .
    .

Leave a Reply to Ashutosh Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WPBeginner Assistant
How can I help you?

By chatting, you consent to this chat being stored according to our privacy policy and your email will be added to receive weekly WordPress tutorials from WPBeginner.