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

Så här byter du från Blogger till WordPress utan att förlora ranking på Google

Många bloggare börjar sin resa på Blogger eftersom det är en gratis och okomplicerad plattform. Men när din blogg växer kanske du börjar känna dig begränsad av dess utvalda funktioner.

Att byta till WordPress kan öppna upp en värld av möjligheter med sina omfattande capabilities. Men det finns en gemensam oro för att göra detta steg: den potentiella förlusten av Google ranking.

Den här artikeln kommer att guida you genom processen att övergå från Blogger till WordPress. Vi fokuserar på hur du gör det korrekt och ser till att du behåller din värdefulla ranking på Google intakt.

Vårt mål är att hjälpa dig att uppgradera din bloggplattform utan att offra sökmotorsoptimeringen som du redan har lagt ner på din site.

Switching from Blogger to WordPress

Varför flytta från Blogger till WordPress?

Blogger är en populär plattform för bloggar som skapats av Google. Den allowar vem som helst att skapa en gratis blogg med hjälp av sitt Google account.

Men många Beginnare inser snart att det finns många limiter för vad de kan göra med sin gratis Blogger blogg.

WordPress, å andra sidan, ger dig fullständig äganderätt till din website. Det tillåter dig också att add to de nödvändiga funktionerna för att utveckla din blogg och tjäna pengar på ditt content. Dessutom kan du utföra all sökmotorsoptimering för att ranka högre. Vi har skapat en detaljerad sida vid sida-jämförelse av WordPress vs. Blogger.

Det är viktigt att obs/observera att när vi säger WordPress så menar vi WordPress.org som drivs på en egen server, vilket EJ ska förväxlas med WordPress.com som är en hostad lösning med sina egna limiter. För detaljer, se vår artikel om skillnaden mellan WordPress.com och WordPress.org.

WordPress.org är den populära ”WordPress”-plattformen som du säkert har hört talas om eftersom den driver 43% av alla webbplatser på internet.

Med det sagt, låt oss ta en titt på hur du flyttar från Blogger till WordPress på rätt sätt samtidigt som du bevarar din ranking på Google search och trafiken på din website.

Här är de steg som vi kommer att använda för att överföra från Blogger till WordPress:

Är du redo? Låt oss sätta igång.

Video Tutorial

Subscribe to WPBeginner

Om du inte vill titta på tutorialen på video, kan du fortsätta att läsa textversionen under.

Step 1: Registrera dig för webbhotell för WordPress

För att komma igång med WordPress behöver du ett domain name och ett webbhotell.

För en snabb påminnelse, ett domain name är din webbplats adress som människor skriver för att komma till din blogg, och webbhotell är där din webbplats filer lagras. Båda dessa är ett MUST-HAVE för att skapa någon typ av blogg eller website.

Med det sagt rekommenderar vi att du använder Bluehost. De är ett av de största webbhotellen i världen, och de är en officiellt rekommenderad partner för WordPress.

Eftersom WPBeginner är den största WordPress resource site, har de gått med på att erbjuda våra läsare en gratis domain name och en 60% rabatt på webbhotell. I princip kan du komma igång för bara 1,99 USD per månad.

Om du av någon anledning föredrar att gå med ett Bluehost-alternativ, rekommenderar vi att du använder antingen SiteGround eller Hostinger eftersom båda är utmärkta lösningar.

När du har registrerat dig för ett WordPress webbhotell och installerat ditt domain name, kan du gå vidare till WordPress installationssteget.

Om du registrerar dig hos Bluehost med hjälp av vår länk ovan installerar de WordPress åt dig automatiskt.

Om du använde en annan hosting provider för WordPress måste du installera WordPress genom att följa vår ultimata guide om hur du installerar WordPress.

När du har installerat WordPress är det dags att flytta ditt content från Blogger till WordPress.

Gratis bonuserbjudande: Eftersom många av You har bett om detta erbjuder vi nu en gratis tjänst för att flytta Blogger till WordPress som en del av vår kostnadsfria tjänst för installation av WordPress-blogg. Detta innebär att en av våra experter kommer att göra hela flytten åt you (100% gratis). Ja, du kan bokstavligen byta från Blogger till WordPress utan någon risk.

Note: Vår gratis tjänst för att flytta bloggare är för mindre bloggar som har mindre än 1000 blogginlägg. Vi kan erbjuda en tjänst för att flytta större webbplatser, men då måste du betala för den.

Men om du är någon som gillar att lära dig och göra saker själv, kan du följa vår Step-by-Step tutorial under.

Step-1: Exportera din blogg från Blogger

Det första du behöver göra är att exportera din Blogger-blogg’s content.

Du kan göra detta genom att besöka Blogger-webbplatsen och logga in på dashboarden för ditt konto.

Därefter går du till sidan Settings. Rulla ner till sektionen ”Hantera blogg” och klicka på knappen ”Säkerhetskopiera content”.

Backup Blogger content

Detta kommer att ge en popup som visar exakt vad som ingår i Blogger backup.

Du måste clicka på knappen ”Download” för att fortsätta.

Download blogger backup

Blogger-bloggens content kommer att downloadas till din dator i en XML-fil.

När nedladdningen är completed är det dags att importera ditt Blogger content till din WordPress site.

Step-by-Step 2: Importera Blogger till WordPress

För att börja importera din Blogger site till WordPress, logga in på din WordPress admin area och besök Tools ” Import.

På sidan Importera, fortsätt och klicka på länken ”Installera nu” under Blogger.

Install Blogger importer for WordPress

WordPress kommer nu att downloada och installera Blogger Importer plugin för you.

När den har slutfört installationen måste du klicka på länken ”Run Importer” för att fortsätta.

Run Blogger importer

WordPress kommer att be dig att uploada filen XML på vyn Importera Blogger. Detta är den fil som du downloadade i Step-by-Step 1.

Klicka bara på knappen ”Choose File” och uploada XML-filen som du downloadade tidigare.

Klicka sedan på knappen ”Upload file and import” för att fortsätta.

Upload the file to import

WordPress kommer nu att uploada filen för importen. Om din import är för stor kan det hända att du ser ett error message.

I så fall måste du öka din limit för maximal upload av filer. Om din fil är liten kommer du inte att se några error.

Därefter kommer du att bli ombedd att tilldela poster till en författare. Om du har flera författare på din Blogger-blogg kan du skapa ett new account för varje användare. Du kan också tilldela dessa posts till befintliga författare på din WordPress website.

Assign authors

När du har gjort ditt valda klickar du på knappen ”Submit” för att fortsätta.

WordPress importerar allt content från Blogger-exportfilen till din WordPress site. You can view the content by visiting the Posts ” All Posts page.

Imported content on your WordPress blog

Permalänkar är termen som används för URL-strukturen för enskilda pages. WordPress har en utvald funktion som allow you att skapa en sökmotorsoptimerande URL-struktur.

Eftersom du importerar content från Blogger måste din URL-struktur vara så close som möjligt till din gamla Blogger sites URL-struktur.

För att ställa in permalänkar måste du gå till Settings ” Permalinks i din WordPress dashboard och välja alternativet ”Custom Structure”.

Följaktligen måste du add to följande text i boxen bredvid fältet för custom structure:

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

Den här permalänkstrukturen gör att URL:erna till blogginläggen liknar URL:erna på din gamla Blogger-blogg.

Ibland matchar dock inte din URL till blogginlägget, även kallad slug i WordPress, de slugs som används av Blogger.

För att fixa detta måste du skapa och runna ett litet code snippet.

Vi rekommenderar att du lägger till denna PHP-kod med hjälp av pluginet WPCode. Det är det säkraste sättet att add to custom code till din WordPress website. För mer detaljer, vänligen se vår guide om hur man copy and paste code snippets i 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";

}

När du har saved koden behöver du bara besöka valfri page på din site WordPress för att trigga detta skript.

Viktigt: När skriptet har körts, glöm inte att inaktivera eller ta bort det från ditt WPCode-bibliotek eftersom det bara behöver köras en gång.

Bonus gratis erbjudande: Vill du inte hantera kod? We have got you covered. Eftersom många av er har bett om detta, erbjuder vi nu en gratis tjänst för att flytta Blogger till WordPress som en del av vår gratis tjänst för att installera en blogg i WordPress.

Det innebär att en av våra experter kommer att göra hela flytten åt dig (100 % gratis). Ja, du kan bokstavligen byta från Blogger till WordPress utan någon risk.

Step 4: Konfigurera redirects från Blogger till WordPress

Det viktigaste steget när du flyttar en website är att ställa in korrekt redirect så att du inte förlorar befintlig trafik eller sökmotorsoptimering. Du kan se vår ultimata checklista för sökmotorsoptimering av WordPress för mer detaljer.

Obs/observera: Om din Blogger-blogg har en egen custom domän istället för blogspot.com kan du behöva peka domänens namnservrar till din hosting provider. För instruktioner, vänligen följ vår tutorial om hur du byter blogg med customize domän till WordPress.

Den viktigaste delen av redirecten är att se till att dina användare landar på samma sida på den nya domänen som de försökte komma åt på den gamla webbplatsen.

Samtidigt måste du också se till att search engines förstår att din website har flyttats till den new location.

För att göra det måste du installera och aktivera pluginet Blogger to WordPress Redirectction. För mer detaljer, se vår Step-by-Step guide om hur du installerar ett WordPress plugin.

När du har aktiverat måste du besöka sidan Tools ” Blogger to WordPress Redirectction och klicka på knappen ”Start Configuration”.

Get the redirection code

Pluginet kommer nu att upptäcka URL:en till din Blogger blogg och visa dig alternativet att få en redirect-kod. Gå vidare och klicka på knappen ”Get Code” bredvid din Blogger URL.

Det kommer nu att generera ett code snippet som du behöver för att korrekt redirect användare från din gamla Blogger blogg till din nya WordPress site.

Därefter måste du logga in på din Blogger dashboard och gå till sidan ”Themes”. Klicka på dropdown-pilen på knappen ”Customize” bredvid ditt theme och välj sedan alternativet ”Edit HTML”.

Edit blogger theme code

Blogger kommer nu att visa den customiserade HTML-koden för din templates. Om du har gjort några customizes till ditt Blogger theme, då kanske du vill kopiera koden och save den på din dator som en backup.

Annars kan du bara gå vidare och ta bort allt. Efter det kopierar du koden som visas av pluginet på din WordPress site och klistrar in den i din Blogger theme editor.

Blogger theme editor

Glöm inte att klicka på knappen ”Save theme” för att spara dina ändringar.

Därefter måste vi konfigurera redirects för mobila användare.

Du måste gå tillbaka till sidan Themes i din Blogger-bloggs dashboard. Den här gången måste du klicka på kugghjulsknappen under den mobila previewen av din blogg.

Change mobile theme settings

Detta kommer att ge en popup där du måste välja alternativet ”Nej. Visa skrivbordstema på mobila enheter”.

Klicka sedan på knappen ”Save”.

Disable mobile theme

Alltså, din Blogger-blogg kommer nu att redirecta alla dina bloggbesökare till din new WordPress-blogg.

Alternativt kan du också använda All in One SEO (AIOSEO) för att redirecta posts och pages från Blogger till WordPress. Pluginet erbjuder en kraftfull funktion för hantering av omdirigeringar som låter dig ställa in fullständiga omdirigeringar till din nya site.

Dessutom kan du aktivera 404 error tracking och fånga upp eventuella brutna links som kan uppstå när du flyttar din site till WordPress. Detta kommer att bidra till att förbättra upplevelsen för användarna och du kommer inte att förlora keyword ranking.

Step-by-Step 5: Flytta annat content från Blogger till WordPress

I det här steget flyttar vi det återstående innehållet från den gamla bloggen på Blogger till din new WordPress-blogg. Detta kan kräva en del manuellt arbete, beroende på settings/content i din blogg.

1. Flytta pages från Blogger till WordPress

WordPress importverktyg för Blogger importerar endast Blogger-poster och ignorerar pages.

För att flytta dina sidor till WordPress måste du edit:a varje page i din blogg, kopiera innehållet och sedan manuellt skapa en page i WordPress.

Om du vill veta mer om pages kan du läsa vår artikel om skillnaden mellan posts och pages i WordPress.

Nu kommer du att stöta på en annan issue. Blogger pages har URL:er som gillar att se ut så här:

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

Din WordPress page URL kommer att se ut så här:

http://example.com/about-us

För att fixa detta måste du använda pluginet All in One SEO (AIOSEO). För instruktioner, vänligen se vår guide för nybörjare om hur du skapar redirects i WordPress.

2. Widgetar

Gillar Blogger, vissa WordPress teman använder också widgetar för att add content till din bloggs sidebar.

För att add to widgets måste du besöka sidan Appearance ” Widgets i din WordPress dashboard och helt enkelt drag and drop widgets i sidebarerna. Detaljerade instruktioner finns i vår guide om hur du lägger till och använder widgetar i WordPress.

Om du letar efter ett specifikt widget som du inte ser i WordPress som standard, då behöver du troligen ett WordPress tillägg. Du kan söka i WPBeginners kategori för bästa WordPress plugin för att hitta den funktionalitet du vill ha.

3. RSS-flöden

Search engines och användare som prenumererar på dina blogginlägg via RSS-flöden kommer fortfarande att kunna hitta din blogg. De kommer dock inte att få något new content.

För att fixa detta, besök sidan Settings under ditt Blogger account. Bläddra sedan ner till sektionen ”Site feed” och klicka på ”Post feed redirect URL”.

Redirect Blogger RSS feed

Detta kommer att ge upphov till en popup där du måste add to RSS-flöde URL på din WordPress webbplats.

Din WordPress feed URL kommer att se ut så här:

http://example.com/feed

Glöm inte att ersätta example.com med ditt eget domain name.

Add feed URL

Klicka på knappen ”Save” för att lägga till URL:en och spara dina Settings.

Steg 6. Saker att göra efter att ha flyttat från Blogger till WordPress

Nu när du utan problem har flyttat din Blogger-blogg till WordPress ska vi ta en titt på vad du kan göra mer för att förbättra din blogg.

Vi har skapat en checklista över de viktigaste sakerna du behöver göra efter att du har installerat WordPress.

WordPress är ganska lätt att använda. Men ibland kommer du att upptäcka new things som du kanske behöver hjälp med. Det är här WPBeginner kommer in i bilden.

WPBeginner är den största gratis WordPress resource site i världen. Vi publicerar regelbundet tutorials och guider som är skrivna speciellt för bloggare och småföretag.

Här är några av de användbara resurserna som du hittar på WPBeginner (alla är gratis):

  • WPBeginner Blogg – Den centrala platsen för all vår WordPress tutorials och guider.
  • WPBeginner Dictionary – Vår WordPress-ordlista är det bästa stället att bekanta sig med WordPress-lingo
  • WPBeginner Videos – Nya WordPress användare kan börja med dessa Step-by-Step videos för att lära sig WordPress.
  • WPBeginner på YouTube – Behöver du fler videoklipp? Prenumerera på vår YouTube-kanal med mer än 291 000 prenumeranter och 50 miljoner + views.
  • WPBeginner Blueprint – Kontrollera de tillägg, tools och tjänster som vi använder på WPBeginner.
  • WPBeginner Deals – Exklusiva rabatter på produkter och tjänster inom WordPress för WPBeginners användare.

Vi hoppas att den här artikeln hjälpte dig att byta från Blogger till WordPress utan att påverka din ranking på Google search. Du kanske också vill läsa vår guide till vilken plan för WordPress du bör använda eller de vanligaste myterna om WordPress som vi avfärdar.

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.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

Avatar

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.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

779 kommentarerLämna ett svar

  1. Syed Balkhi

    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. Mini

    This useful even for moving free blog on blogspot to free blog on wordpress?
    And will it transfer previously received comments too?

  3. Katheriine

    I have a problem with all of my pinterest pins stopping at a blogger page saying ”this blog is no longer hosted by blogger do you wish to be redirected?” and you have to choose yes or no and obviously people usually just exit out or hit no so it’s killing my page views. Any help??

  4. Susann

    I don’t have the export blog (or import) button on my blogg. Only the Delete button. Did they take this away, how can I export my blog now? Or do I need to change anything somewhere else to get it to show up?

  5. Eli

    Hi, I don’t can’t use permalinks with /month/day, i need to use /blog-post-title.

    is there a way to modify the php code, to get a proper redirect?

  6. WAHEED HABIB

    Dear Author, thank u so much for such a great help in transferring blogger data to wordpress theme. But redirection woud;nt work for me rather i use simple Blogger to WordPress Redirection plugin a very simple and easy to use tool i just love it. I have redirect my blogger site to WordPress.

  7. Mallory

    Hi! Thank you so much for this helpful guide!!
    I’ve done everything as you explained and redirection works but I get this message on top of my wordpress: Notice: Undefined index: blogger in /var/www/vhost/example/home/html/wp-content/themes/betheme-child/functions.php on line 94

    I therefore went and checked line 94 and this is the one: $blogger = $wp_query->query_vars[’blogger’];

    would you be able to help me?
    Thank you so much

  8. Patricia

    Hi, currently trying to follow your instructions but I keep getting this message when I try to save the blogger redirection code in reference to the blog page title line.

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

    Please help?

  9. JC

    Glad i found this. I’ve been so afraid to move my blog from blogger to W/P. One question: Do my followers on blogger also go with me?

    Also, is there a way (don’t know what it’s called) to let those that come to your blogger site know that you’ve moved to W/P?

    • WPBeginner Support

      If by followers you mean those who used Google ID to follow your blogger blog, then no.

      Yes, using this method, people arriving at your blogger site through other sources will be properly redirected to your new site.

      Administratör

  10. Lindsey

    So helpful. However, when I refresh after all the steps, I get the 2nd code we pasted showing at the top. Am I missing something? It is even showing in my WP Admin dashboard!!

    • WPBeginner Support

      It seems you pasted the code after a closing ?> php tag. You can paste the code again before the closing php tag or add this tag at the beginning of the code

      <?php

      Administratör

  11. Katelyn

    I am having the hardest time converting from BlogSpot to Word Press. For some reason I don’t know if it’s the browser I’m using or what but when I go to Settings –> Other —> to import and backup or backup content (those are the only two options it give me) I don’t have an export blog option. I’m getting ready to just freakin pay someone to do it!

  12. Huda

    What about the design theme? can I change it to wordpress theme?

  13. Sy Abuzar

    Hello. Brother.

    This is Very Useful Article Amazing and Mind Blowing Guidelines Step by Step, I like It Thanks a lot,

    Have a Nice Day Ahead

  14. Febriyan

    I had tried all the steps there and if I opened my blogspot blog on my computer, it worked just fine. It redirected automatically to the new domain on wordpress. But if I use my phone or asked my friend to access the blogspot, it didn’t do anything. No redirection at all.
    Can you help me on this?
    my blogspot is

  15. Erin

    Thank you for your post, super easy to follow and felt confident importing my blog. Though alas and alack I had trouble with the images, they didn’t import. I then followed your extra assistance for that scenario but whilst some imported to media library, some didn’t, and none are showing as featured images.
    Any tips would be greatly appreciated.

  16. collins

    Thanks it helped,,Please i’ll love to talk 2 privately here is my mail address.

  17. Mercedes

    Thank you! This was super helpful.

    Having a little trouble with the second code though. I have no idea how to even access the file I need to paste the code into?

    • WPBeginner Support

      It goes in your theme’s functions.php file. Go to Appearance page in your WordPress admin area, and note the name of your active theme. Connect to your website using an FTP client, go to /wp-content/themes/your-active-theme-folder/ and there you will find functions.php file. Download it to your computer and open it with a plain text editor like Notepad. Paste the code at the end of this file. Save the file and upload it back to your theme folder using FTP.

      Administratör

  18. Biz Harris

    oh gosh, this was super helpful, but ONE note… maybe in the section about entirely changing the blogger code, be SUPER specific that you should change every ”http://example.com” to your blog address AND that ”www” beforehand isn’t necessary. I tried several iterations before I got this to work for me (and had a couple of panic attacks in the meantime.) :) anyway, thanks again from this VERY novie workpress beginner!

  19. Nicole

    This was such a helpful blog post. So many people offer too much information or not enough, but you walked me straight through it! Thank you! I used Thad’s advice to get the mobile views to redirect. That worked.

    My only problem now is that I can’t get my ”pages” to redirect. They didn’t export/import, so I created new pages, with new names. Can I redirect these 15 pages manually in some way? or at least have a user redirected to my new home pages? Right now they are getting the message that ”page you were looking for…does not exist.”

    Thank you again! You have been so helpful!

    • Jwphoto

      I’m having this same issue. When I google my blog name these old blogger pages (these were my menu items, not posts) show up. I can’t find a way in blogger to change the url. Is there a way to redirect these individual pages or change their url? Deleting these blogger pages would be bad for SEO, right?

  20. Pascale

    Hello, can you confirm where we should paste the 2nd code in function.php? I have read the Beginner’s guide to pasting snippets from the web into wordpress and it is still not clear.

    Thank you so much for your help!

    • WPBeginner Support

      It needs to go in your WordPress theme’s functions.php file. You can paste it at the very end of that file.

      Administratör

  21. Vinayak SP

    Above code not worked fully until you do this :

    Configure Permalinks on New WordPress

    From WordPress Dashboard, go to Settings -> Permalinks and select Custom Structure option and paste the following value next to it and save changes.

    /%year%/%monthnum%/%postname%.html

  22. Jas

    Hello Syed,

    1.
    a) I notice in this article you specify the Permalink Settings as follows.
    ”choose Month and Name”

    b) However in your How to ”Move Custom Domain Blogger Blog to WordPress” your specify Permalink settings differently in custom format.
    ”/%year%/%monthnum%/%postname%.html”

    2. I did not see the second article until I had already done the migration. I used a) above, then after the migration was complete, I changed it to b) above.

    Why the difference between the two? Did I create a problem by beginning with a) then changing to b)? The Google search links seem to link correctly from old posts to new. Is there another factor I am not considering?

    Thanks for your time,

    Jas

    urgent, priority

  23. Tawnya

    I have a question on where you copy the 2nd code on redirecting to wordpress do I just copy the code at the bottom of the functions.php file or is there a specific place on that page to copy the code??

  24. Tawnya

    I understand all of this except where do I paste the code in wordpress when you say this?

    ***However, you still need to setup redirection on your WordPress site so that users are redirected to the proper posts.
    You need to copy and paste the following code in your WordPress theme’s functions.php file***

    Do I just copy that code you provided at the bottom of this section on my wordpress or do I need to make sure it goes in a specific spot??

    I hope that makes sense. Thanks for this tutorial

  25. Zara

    I can’t find tools or anything in wordpress. Did they update it?

    • Amy Hunt

      I can’t find tools in WP either..Publish, Personalise,Configure those are the only categories?

  26. Lyssa

    Thank you for this helping tutorial
    i have been read almost full of your blog it’s very informative and helpful

  27. Carla Mota

    You are the best!! Thanks

  28. Millo Magnocavallo

    Add to previous comment …

    I just looked at the source version of the text that’s been imported and in some cases the img tag is appearing like this:

    for some reason it’s not printing out the src?

    • Paul Wentzell

      This happens for me, also. I do see that the images for those posts downloaded to the site directory, but it’s curious why they were not inserted into the src of the post.

  29. Millo

    Hey! Thank you so much for a great tutorial / how-to. It worked really well, only that I’ve noticed that some images are not appearing in the imported blog posts. Do you have any idea why that might be?

  30. Sharaj Khan

    what about blogger to blogger ??????

    • Sam

      easy, just backup template and then upload it on the other blog

  31. Olsi

    I followed this guide and it worked very well, but I did a redirect test and it says 302 Moved Temporarily and not 301 as it should be.
    I`m I doing something wrong? Anybody else did a redirect test?

    • Paul

      I’m also seeing a 302 from any redirect checker tool I am using. All links are indeed redirecting correctly, but 302 is making me uneasy.

  32. Gianluca

    Hi, is it possible to import only several posts from the older blog, instead the entire blog?

  33. Thales

    I found a work around…

    I have replaced the code (line 11):
    window.location.href=”http://example.com/?blogger=”

    by the following 3 lines:
    var str = ””;
    var url_old = str.substr(7);
    window.location.href=’http://pequenospelomundo.com.br/?blogger=’+url_old;

    It works fine and seems that I have kept my google rankings.

  34. Joel

    I’m considering this option but am getting stuck on step #1. When I export an xml file from Blogger, the resultant file only includes 200 of my 1030 posts. Why? And what can I do to actually back up ALL of my blog.

  35. Wordpresser

    Do you still need to redirect the blogger blog to the wordpress domain if the URL structure including domain, date, article name and .html ending of the URL will all be exactly the same on WordPress as they are on Blogger?

  36. Shelly

    I have downloaded the blogger blog and am trying to import the file. It appears to be uploading but then I get the following error: Warning: Invalid argument supplied for foreach() in /home/content/p3pnexwpnas06_data02/87/2994987/html/wp-content/plugins/blogger-importer/blogger-importer.php on line 227
    The blogger blog has almost 2,000 posts. Could the size be the problem? I’m afraid I am a complete newbie and am following directions step-by-step.

    • Kinshuk

      Hi,
      I am facing the similar issue to Shelly where I am getting following error:. I have around 2000 posts in blogger xml.

      Regards.

  37. Emilie

    Thank you so much for such an informative and helpful video! I am totally a code newbie, but with your fantastic instructions, even I was able to get my blogger account to automatically send viewers over to my new domain. I only have one problem– and I think it has to do with the second set of code you had me post into the when the function.php file in wordpress. Rather than redirecting users to the specific article that they are attempting to reference in blogger, it just redirects to my entire, overall website. How can I fix it so that users who are clicking on old pinterest pins, etc, receive the recipe that they are looking for, rather than just a generic site where they have to search for the recipe they want? Thanks.

  38. Fachreza

    this is legal for blogger and wordpress ???

    • Michelle Dear

      Yes. You own your data. You have the right to port it between tools.

  39. Jericho

    Thanks for this tutorial. I have a question, I am using custom domain in my blogger blog and this is the same domain I am going to use in WordPress. Do I have to disconnect the custom domain first and use the ”blogspot.com” before heading to migration of my blog? If so, this will affect on my google rankings?

  40. Julia Taylor

    Do you advise deleting the old blogger blog once the site is redirecting properly? Or should we wait for a certain period (if so, how long?)? Or is it best to leave it up for any reason?

    • WPBeginner Support

      It is a free blog, why delete it if its not hurting your rankings? But if you must delete it, then we would recommend waiting for at least 6-12 months.

      Administratör

      • Julia Taylor

        Well I guess I am not 100% confident we aren’t going to get hurt for duplicate content, since we are still seeing activity in the ”Stats” tab. How do I test to make sure that is not going to happen?

        • Jason Booth

          The 301 redirect and canonical tag should alleviate the fear about duplicate content but what I’ve found that this technique is not redirecting mobile traffic.

          Mobile users are getting a different template on Blogger and not being redirected to the new site. I’ve been looking into it but have yet to find how to disable or change the template served to mobile devices.

        • Thales

          I had the same issue (mobile users still accessing blogger). I have disabled mobile version in blogger and works fine.

          Log in to blogger; go to template; click ’update template’; on the top of the page you have the mobile preferences. Click and disable mobile version; then click back in ’Revert to classic template’ – Done!

        • Julia Taylor

          I am glad Jason pointed out the issue that mobile users are not being redirected. Can you guys please help us figure this out? I need the blog posts on mobile to also be redirecting to the new site, which they are not.

        • Julia Taylor

          Oops, I missed the comment from Thales. Just did that, and it appears to be working. Thank you Thales!

        • Jason Booth

          Thanks, Thales! Fixed it for me as well.

  41. Julia Taylor

    I followed all your instructions and everything seems to be working just fine, but we are still seeing some page views in the old Blogger site’s stats tab. Is it tracking the pages/posts that are redirecting to the new self-hosted WP site? Or is something not set correctly?

    • WPBeginner Support

      Your blogger blog is not just visited by humans but also by many bots, crawlers, automated scrips, etc. Some of these bots may request a cached version of your blog this will generate a page view in Blogger’s stats. You can see the device information in your stats tab for that particular day.

      Administratör

  42. Samantha

    I’m trying to redirect my blog to my new wordpress site, but I’m turning all my blog posts into knowledge base articles.

    How would I modify the code so that oldblog.blogspot.com/month/day/postname redirects to example.com/knowledgebase/postname

    The ”/knowledgebase” part is automatically added by the plugin I’m using and is not part of the permalinks structure.

    • WPBeginner Support

      You can switch the post type to knowledgebase. We are not sure what kind of affect it will have on redirects. Its best if you test it on a local install with demo blogspot blog first.

      Administratör

  43. Ketan

    This was probably the easiest explanation of migrating from blogger to WP that I found till date. Thanks for posting. The redirect bit – that is something to do carefully.

  44. Kim Brookes

    I wrote a bit ago. You should probably ignore what I wrote because for some reason now it’s working. It’s either working now because I copied the snippet for the blogger template again, and changed the ”example.com”s again. Or, because the links embedded on my WP site posts (that were ported from blogger) still have the blogger URLs, which WP interprets by substituting .blogger.com with my.new.url, which goes 404 on WP.

    That is, in case it’s helpful, the post that was on blogger, now WP:

    included a link in the text to

    which somehow in the migration, or me doing something wrong, got changed into

    and that’s a URL that doesn’t exist (WP with a .html instead of /)

    So, mostly thanks for your awesome site. And ignore my previous comment.

    -Kim

  45. Kim Brookes

    Awesome site you have here! I’ve used all sorts of the articles.

    I’ve followed all of the instructions on this ”how to switch” page. Most of it is working, but the old links on Blogspot aren’t redirecting to my new domain. They’re going to a 404. This is because the old blogspot URLs end in .html, and the new WordPress URLs end with the post_title/
    as though it’s a directory instead of old-fashioned .html file. I think the issue is with the WP function code, but I don’t know the coding well enough to guess at how to make WP redirect to a (delete the slash, add ”.html”) URL.

    Nor do I know how to add the coding to the WP permalink page. I don’t want to mess with this, though because I don’t want ”.html” added to all of my new posts. For now, the only think I can think to do is to change the permalink individually on all of my migrated-to-WP blogspot posts. Yuck.

    Thanks for any help you can provide.

  46. Julia Taylor

    Thank you SO MUCH for this post…it really helped me! I do have a question. Is it possible to redirect the main blog address to a page on the site? The reason I am asking is because the new blog is just part of site, and redirecting blog reader to the homepage might be confusing. So can can I redirect example.blogspot.com to http://www.example.com/blog/, instead of http://www.example.com? I am a little nervous to go messing with your beautiful redirect code as I do not want to mess it up! Thanks so much!!!

  47. Christene

    Before I begin doing this, I need to know something: Once all the content on my Blogger site is imported to WordPress…will all the imported posts automatically go live? Or will they import as a draft status? I wouldn’t want them to go live yet. The reason for the migration would be a stand-by thing, in case Blogger deletes my blog (they’ve already deleted two without any pre-notice to me, claiming they had spam), so I’m afraid they’re going to pull this stunt on my remaining blogs.

    So as a pre-emptive, I’d like to install WP, set it up and import, but keep all the imported content in draft status as long as my blogs are still up. If Blogger notifies me they took down my other main blog, then that’s when I’d switch the WP draft status to published. Will someone please let me know about this? I’d hate to have my articles live on BOTH sites at the same time.

    • WPBeginner Support

      All imported posts will go live.

      You can go to Posts and click on the screen options button on the top right corner of the screen.

      Under number of posts to show, select a number higher than the expected number of posts you think you might have. Click on the apply button.

      WordPress will now show all your posts. On the top right corner of the posts list, you will find a checkbox to select all posts visible on screen.

      After selecting all your posts, under bulk actions drop down menu, select Edit and then click on apply button next to it.

      WordPress will now show you bulk editing options. Click on drop down menu next to Status section and then select Draft. Finally click on the update button. All your posts will now become drafts.

      Administratör

  48. Tiffany MacBain

    I followed the steps to import to WordPress from Blogger and received the message (on WP) that the import was in progress. How long does the import process take? It’s been 30 minutes so far, and I see none of my Blogger posts on WordPress. Thanks!

  49. Laura McKissack

    I wish I had come across this article a long time ago! I can’t believe I just crossed this off my to-do list in ten minutes. I’ve been putting it off forever because I thought it would be hard, ha. Now I have to figure out how to recover all the media files blogger has lost from my old blogs :( Any advice there?

    • Christene

      I can’t believe you did this in only 10 minutes, Laura. It would take me at least 10 minutes just to READ through the instructions. And the images of all the HTML coding? And what to do with it? This looks as hard as the dickens.

  50. Shakir

    Thanks for the great tutorial .

    But i want to ask that i also want to migrate blogger blog to wprdpress but i have to use the same domain name on wordpress , so what should i have to do for the proper redirection of posts to the new post urls so that the exact post url which is ranking in google should redirect to exact same post of wordpress ?

  51. mahesh

    Hello ty for such a great article. I want to migrate my blog to WordPress. The template which I m having right now will it available after migration or I Will have to use other?? And if I loose that template then how can I insert new theme in WordPress?
    Plsss reply waiting for you

    • WPBeginner Support

      No Blogger templates are different than WordPress. However, you should be able to easily find a much better theme for your WordPress site.

      Administratör

      • mahesh

        I have already bought domain from godadday , now if I migrate to WordPress then how will I can use that in word press? I mean how will I able to transfer domain to WordPress? Pls repl

        • WPBeginner Support

          You will need WordPress hosting. Once you have signed up for a hosting account, you will need to edit your domain settings on GoDaddy. Under domain settings locate Name Servers and then change them point to your new WordPress host.

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.