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

Jak przejść z Bloggera na WordPressa bez utraty pozycji w Google

Wielu blogerów rozpoczyna swoją przygodę na Bloggerze, ponieważ jest to darmowa i prosta platforma. Jednak w miarę rozwoju twojego bloga możesz zacząć czuć się ograniczony przez jego ograniczone funkcje.

Przejście na WordPress może otworzyć świat możliwości dzięki jego szerokim możliwościom. Istnieje jednak powszechna obawa związana z tym ruchem: potencjalna utrata pozycji w rankingu Google.

Ten artykuł poprowadzi Cię przez proces przejścia z Bloggera na WordPressa. Skupimy się na tym, jak zrobić to poprawnie, upewniając się, że twój cenny ranking Google pozostanie nienaruszony.

Naszym celem jest pomoc w ulepszeniu twojej platformy blogowej bez poświęcania wysiłków SEO, które już włożyłeś w swoją witrynę.

Switching from Blogger to WordPress

Dlaczego warto przejść z Bloggera na WordPressa?

Blogger to popularna platforma blogowa stworzona przez Google. Pozwala ona każdemu na stworzenie darmowego bloga przy użyciu konta Google.

Jednak wielu początkujących szybko zdaje sobie sprawę, że istnieje wiele ograniczeń dotyczących tego, co mogą zrobić ze swoim darmowym blogiem Blogger.

Z drugiej strony WordPress daje ci pełną kontrolę nad twoją witryną internetową. Pozwala również na dodawanie funkcji niezbędnych do rozwoju twojego bloga i monetyzacji treści. Ponadto, można wykonać wszystkie optymalizacje SEO, aby uzyskać wyższą pozycję w rankingu. Stworzyliśmy szczegółowe porównanie WordPressa i Bloggera.

Ważne jest, aby pamiętać, że kiedy mówimy WordPress, mówimy o samodzielnie hostowanym WordPress.org, którego NIE należy mylić z WordPress.com, który jest hostowanym rozwiązaniem, które ma swoje własne ograniczenia. Aby uzyskać szczegółowe informacje, zobacz nasz artykuł na temat różnicy między WordPress.com a WordPress.org.

WordPress.org to popularna platforma „WordPress”, o której prawdopodobnie słyszałeś, ponieważ zasila ona 43% wszystkich witryn internetowych.

Biorąc to pod uwagę, przyjrzyjmy się, jak prawidłowo przenieść się z Bloggera na WordPressa, zachowując twoje rankingi wyszukiwania Google i ruch w witrynie internetowej.

Oto kroki, których użyjemy, aby przenieść się z Bloggera do WordPressa:

Gotowy? Zaczynajmy.

Film instruktażowy

Subscribe to WPBeginner

Jeśli nie chcesz oglądać poradnika w formie filmu, możesz kontynuować czytanie poniższej wersji tekstowej.

Krok 1: Zarejestruj się w WordPress Hosting

Aby rozpocząć korzystanie z WordPressa, potrzebna będzie nazwa domeny i hosting.

Dla krótkiego przypomnienia, nazwa domeny to adres Twojej witryny internetowej, który ludzie wpisują, aby dostać się do Twojego bloga, a hosting to miejsce, w którym przechowywane są pliki Twojej witryny. Oba te elementy są NIEZBĘDNE do stworzenia dowolnego rodzaju bloga lub witryny internetowej.

Mając to na uwadze, zalecamy korzystanie z Bluehost. Jest to jedna z największych firm hostingowych na świecie i oficjalnie rekomendowany partner hostingowy WordPress.

Ponieważ WPBeginner jest największą witryną z zasobami WordPress, zgodzili się zaoferować naszym czytelnikom darmową nazwę domeny i 60% zniżki na hosting. Zasadniczo możesz zacząć za jedyne 1,99 USD miesięcznie.

Jeśli z jakiegoś powodu wolisz wybrać alternatywę Bluehost, zalecamy skorzystanie z SiteGround lub Hostinger, ponieważ oba są doskonałymi rozwiązaniami.

Po zarejestrowaniu się w planie hostingowym WordPress i skonfigurowaniu twojej nazwy domeny, możesz przejść do kroku instalacji WordPress.

Jeśli zarejestrujesz się w Bluehost za pomocą naszego powyższego odnośnika, WordPress zostanie zainstalowany automatycznie.

Jeśli korzystałeś z usług innego dostawcy hostingu WordPress, musisz zainstalować WordPress, postępując zgodnie z naszym kompletnym przewodnikiem na temat instalacji WordPress.

Po zainstalowaniu WordPressa nadszedł czas, aby przenieść twoje treści z Bloggera do WordPressa.

Bonusowa darmowa oferta: Ponieważ wielu z was o to prosiło, oferujemy teraz bezpłatną usługę migracji z Bloggera do WordPressa w ramach naszej bezpłatnej usługi konfiguracji bloga WordPress. Oznacza to, że jeden z członków naszego zespołu ekspertów przeprowadzi całą migrację za Ciebie (w 100% za darmo). Tak, możesz dosłownie przejść z Bloggera na WordPressa bez żadnego ryzyka.

Uwaga: Nasza bezpłatna usługa migracji z bloggera jest przeznaczona dla mniejszych blogów, które mają mniej niż 1000 wpisów. Możemy zaoferować usługę migracji dla większych witryn blogger, ale będzie to usługa płatna.

Jeśli jednak jesteś osobą, która lubi się uczyć i robić rzeczy samodzielnie, możesz skorzystać z naszego poniższego poradnika krok po kroku.

Krok 1: Eksport twojego bloga na Bloggerze

Pierwszą rzeczą, którą musisz zrobić, jest wyeksportowanie treści twojego bloga Blogger.

Możesz to zrobić, przechodząc na witrynę internetową Blogger i logując się do kokpitu Twojego konta.

Następnie przejdź do strony Ustawienia. Przewiń w dół do sekcji „Zarządzaj blogiem” i kliknij przycisk „Utwórz kopię zapasową treści”.

Backup Blogger content

Spowoduje to wyświetlenie wyskakującego okienka pokazującego, co dokładnie zawiera kopia zapasowa Bloggera.

Aby kontynuować, należy kliknąć przycisk „Pobierz”.

Download blogger backup

Treść twojego bloga Blogger zostanie pobrana na twój komputer w pliku XML.

Po zakończeniu pobierania, nadszedł czas, aby importować twoją treść z Bloggera do witryny WordPress.

Krok 2: Importowanie Bloggera do WordPressa

Aby rozpocząć importowanie witryny Blogger do WordPress, zaloguj się do obszaru administracyjnego WordPress i przejdź na stronę Narzędzia ” Importuj.

Na stronie importera kliknij odnośnik „Zainstaluj teraz” poniżej Bloggera.

Install Blogger importer for WordPress

WordPress pobierze i zainstaluje wtyczkę Blogger Importer.

Po zakończeniu instalacji należy kliknąć odnośnik „Run Importer”, aby kontynuować.

Run Blogger importer

WordPress poprosi o przesłanie pliku XML na ekranie Importuj Bloggera. Jest to plik pobrany w kroku 1.

Wystarczy kliknąć przycisk „Wybierz plik” i przesłać pobrany wcześniej plik XML.

Następnie kliknij przycisk „Prześlij plik i importuj”, aby kontynuować.

Upload the file to import

WordPress zaimportuje teraz plik. Jeśli twój plik importu jest zbyt duży, może pojawić się komunikat o błędzie.

W takim przypadku musisz zwiększyć twój maksymalny limit przesyłania plików. Jeśli twój plik jest mały, nie zobaczysz żadnych błędów.

Następnie zostaniesz poproszony o przypisanie wpisów do autora. Jeśli masz wielu autorów na twoim blogu Blogger, możesz utworzyć nowe konto użytkownika dla każdego z nich. Możesz również przypisać te wpisy do istniejących autorów na twojej witrynie internetowej WordPress.

Assign authors

Po dokonaniu twojego wyboru kliknij przycisk „Wyślij”, aby kontynuować.

WordPress zaimportuje całą treść z pliku eksportu Bloggera na twoją witrynę WordPress. Treść można zobaczyć, przechodząc na stronę Wpisy ” Wszystkie wpisy.

Imported content on your WordPress blog

Bezpośredni odnośnik to taksonomia używana do struktury adresów URL poszczególnych stron. WordPress jest wyposażony w funkcję, która pozwala skonfigurować przyjazną dla SEO strukturę adresów URL.

Ponieważ importujesz treść z Bloggera, struktura adresów URL musi być jak najbardziej zbliżona do struktury adresów URL twojej starej witryny Blogger.

Aby ustawić bezpośrednie odnośniki, musisz przejść do Ustawienia ” Permalinki w twoim kokpicie WordPress i wybrać opcję „Własna struktura”.

Następnie należy dodać następujący tekst w polu obok pola struktury własnej:

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

Ta struktura bezpośrednich odnośników sprawia, że adresy URL wpisów na twoim blogu są podobne do adresów URL na starym blogu Blogger.

Czasami jednak adres URL twojego wpisu na blogu, znany również jako slug w WordPressie, nie będzie pasował do slug używanych przez Bloggera.

Aby to poprawić, należy utworzyć i uruchomić mały fragment kodu.

Zalecamy dodanie tego kodu PHP za pomocą wtyczki WPCode. Jest to najbezpieczniejszy sposób na dodanie własnego kodu do twojej witryny internetowej WordPress. Aby uzyskać więcej informacji, zapoznaj się z naszym przewodnikiem na temat kopiowania i wklejania fragmentów kodu w 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";

}

Po zapisaniu kodu wystarczy przejść na dowolną stronę w twojej witrynie WordPress, aby uruchomić ten skrypt.

Ważne: Po uruchomieniu skryptu nie zapomnij wyłączyć lub usunąć go z biblioteki WPCode, ponieważ jest on uruchamiany tylko raz.

Bonusowa darmowa oferta: Nie chcesz zajmować się kodami? Mamy dla Ciebie rozwiązanie. Ponieważ wielu z was o to prosiło, oferujemy teraz bezpłatną usługę migracji z Bloggera do WordPressa w ramach naszej bezpłatnej usługi konfiguracji bloga WordPress.

Oznacza to, że jeden z członków naszego zespołu ekspertów przeprowadzi całą migrację za Ciebie (w 100% za darmo). Tak, możesz dosłownie przejść z Bloggera na WordPress bez żadnego ryzyka.

Krok 4: Konfiguracja przekierowań z Bloggera do WordPressa

Najważniejszym krokiem przy przenoszeniu dowolnej witryny internetowej jest skonfigurowanie odpowiedniego przekierowania, aby nie stracić istniejącego ruchu ani rankingów SEO. Aby uzyskać więcej informacji, zapoznaj się z naszą ostateczną listą kontrolną migracji WordPress SEO.

Uwaga: Jeśli Twój blog na Bloggerze ma własną, niestandardową domenę zamiast blogspot.com, może być konieczne wskazanie serwerów nazw domeny dostawcy hostingu. Aby uzyskać instrukcje, postępuj zgodnie z naszym poradnikiem dotyczącym przełączania bloga Blogger z własną domeną na WordPress.

Kluczową częścią przekierowania jest zapewnienie, że twoi użytkownicy wylądują na tej samej stronie w nowej domenie, do której próbowali uzyskać dostęp w starej witrynie.

Jednocześnie musisz również upewnić się, że wyszukiwarki rozumieją, że twoja witryna internetowa została przeniesiona do tej nowej lokalizacji.

W tym celu należy zainstalować i włączyć wtyczkę Blogger to WordPress Redirection. Aby uzyskać więcej informacji, zobacz nasz przewodnik krok po kroku, jak zainstalować wtyczkę WordPress.

Po włączaniu należy przejść na stronę Narzędzia ” Przekierowanie z Bloggera na WordPress i kliknąć przycisk „Rozpocznij konfigurację”.

Get the redirection code

Wtyczka wykryje teraz adres URL twojego bloga na Bloggerze i wyświetli opcję uzyskania kodu przekierowania. Kliknij przycisk „Pobierz kod” obok twojego adresu URL Bloggera.

Wygeneruje on teraz fragment kodu, który będzie potrzebny do prawidłowego przekierowania użytkowników z twojego starego bloga Blogger na nową witrynę WordPress.

Następnie musisz logować się do kokpitu Bloggera i przejść do strony „Motywy”. Kliknij strzałkę rozwijaną na przycisku „Dostosuj” obok twojego motywu, a następnie wybierz opcję „Edytuj HTML”.

Edit blogger theme code

Blogger wyświetli teraz własny kod HTML dla twojego szablonu motywu. Jeśli dokonałeś jakichkolwiek dostosowań w twoim motywie Bloggera, możesz skopiować kod i zapisać go na komputerze jako kopię zapasową.

W przeciwnym razie możesz po prostu usunąć wszystko. Następnie skopiuj kod wyświetlany przez wtyczkę na twojej witrynie WordPress i wklej go do edytora motywu Bloggera.

Blogger theme editor

Nie zapomnij kliknąć przycisku „Zapisz motyw”, aby zapisać twoje zmiany.

Następnie musimy skonfigurować przekierowania dla użytkowników mobilnych.

Musisz wrócić do strony Motywy w kokpicie twojego bloga Blogger. Tym razem należy kliknąć przycisk koła zębatego poniżej mobilnego podglądu twojego bloga.

Change mobile theme settings

Spowoduje to wyświetlenie wyskakującego okienka, w którym należy wybrać opcję „Nie. Pokaż motyw pulpitu na urządzeniach mobilnych”.

Następnie kliknij przycisk „Zapisz”.

Disable mobile theme

To wszystko, twój blog na Bloggerze będzie teraz przekierowywał wszystkich odwiedzających na twój nowy blog WordPress.

Alternatywnie, można również użyć All in One SEO (AIOSEO) do przekierowania wpisów i stron z Bloggera do WordPressa. Wtyczka oferuje potężną funkcję menedżera przekierowań, która pozwala skonfigurować pełne przekierowania witryny na twoją nową witrynę.

Ponadto możesz włączyć śledzenie błędów 404 i wychwycić wszelkie niedziałające odnośniki, które mogą wystąpić podczas przenoszenia twojej witryny do WordPress. Pomoże to poprawić komfort użytkowania i nie stracić pozycji w rankingach słów kluczowych.

Krok 5: Przenoszenie treści z Bloggera do WordPressa

W tym kroku przeniesiemy pozostałą treść ze starego bloga na Bloggerze na twój nowy blog WordPress. Może to wymagać trochę ręcznej pracy, w zależności od ustawień/treści twojego bloga.

1. Przenoszenie stron z Bloggera do WordPressa

Narzędzie importera Bloggera WordPressa importuje tylko wpisy Bloggera i ignoruje strony.

Aby przenieść twoje strony do WordPressa, będziesz musiał edytować każdą stronę na swoim blogu Blogger, skopiować jej treść, a następnie ręcznie utworzyć stronę w WordPressie.

Aby dowiedzieć się więcej o stronach, zapoznaj się z naszym artykułem na temat różnicy między wpisami a stronami w WordPress.

Teraz natkniesz się na inny problem. Strony Bloggera mają adresy URL, które wyglądają tak:

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

Adres URL twojej strony WordPress będzie wyglądał następująco:

http://example.com/about-us

Aby to naprawić, należy użyć wtyczki All in One SEO (AIOSEO). Aby uzyskać instrukcje, zapoznaj się z naszym przewodnikiem dla początkujących na temat tworzenia przekierowań w WordPress.

2. Widżety

Podobnie jak Blogger, niektóre motywy WordPress również wykorzystują widżety do dodawania treści do panelu bocznego twojego bloga.

Aby dodać widżety, musisz przejść na stronę Wygląd ” Widżety w twoim kokpicie WordPress i po prostu przeciągnąć / upuścić widżety na panel boczny. Szczegółowe instrukcje można znaleźć w naszym przewodniku na temat dodawania i używania widżetów w WordPress.

Jeśli szukasz konkretnego widżetu, którego nie widzisz domyślnie w WordPressie, prawdopodobnie potrzebujesz wtyczki WordPress. Możesz przeszukać kategorię najlepszych wtyczek WordPress na WPBeginner, aby znaleźć potrzebną funkcjonalność.

3. Kanały RSS

Wyszukiwarki i użytkownicy, którzy subskrybują wpisy na Twoim blogu za pośrednictwem kanałów RSS, nadal będą mogli znaleźć Twojego bloga. Nie otrzymają jednak żadnych nowych treści.

Aby to naprawić, przejdź na stronę ustawień na twoim koncie Blogger. Następnie przewiń w dół do sekcji „Kanał witryny” i kliknij opcję „Przekieruj adres URL kanału”.

Redirect Blogger RSS feed

Spowoduje to wyświetlenie wyskakującego okienka, w którym należy dodać adres URL kanału RSS twojej witryny internetowej WordPress.

Twój adres URL kanału WordPress będzie wyglądał następująco:

http://example.com/feed

Nie zapomnij zastąpić example.com twoją własną nazwą domeny.

Add feed URL

Kliknij przycisk „Zapisz”, aby dodać adres URL i zapisać twoje ustawienia.

Krok 6. Czynności do wykonania po migracji z Bloggera do WordPressa

Teraz, gdy z powodzeniem przeniosłeś swojego bloga z Bloggera na WordPressa, przyjrzyjmy się, co jeszcze możesz zrobić, aby ulepszyć swojego bloga.

Stworzyliśmy listę kontrolną najważniejszych rzeczy, które należy zrobić po zainstalowaniu WordPressa.

WordPress jest dość łatwy w użyciu. Jednak od czasu do czasu odkryjesz nowe rzeczy, z którymi możesz potrzebować pomocy. Tutaj z pomocą przychodzi WPBeginner.

WPBeginner to największa na świecie witryna z darmowymi zasobami dotyczącymi WordPressa. Regularnie publikujemy poradniki i przewodniki napisane specjalnie dla blogerów i małych firm.

Oto niektóre z przydatnych zasób, które można znaleźć na WPBeginner (wszystkie są darmowe):

  • Blog WPBeginner – Centralne miejsce dla wszystkich naszych poradników i przewodników WordPress.
  • Słownik WPBeginner – Nasz słownik WordPressa to najlepsze miejsce do zapoznania się z WordPressowym żargonem.
  • WPBeginner Videos – Nowi użytkownicy WordPressa mogą zacząć od tych filmów krok po kroku, aby opanować WordPressa.
  • WPBeginner na YouTube – Potrzebujesz więcej filmowych instrukcji? Subskrybuj nasz kanał YouTube z ponad 291 000 subskrybentów i ponad 50 milionami zobacz.
  • WPBeginner Blueprint – Sprawdź wtyczki, narzędzia i usługi, z których korzystamy na WPBeginner.
  • WPBeginner Deals – Ekskluzywne zniżki na produkty i usługi WordPress dla użytkowników WPBeginner.

Mamy nadzieję, że ten artykuł pomógł ci w przejściu z Bloggera na WordPressa, nie mając przy tym wpływu na twoje pozycje w wyszukiwarce Google. Możesz również zapoznać się z naszym przewodnikiem po tym, z którego planu WordPress powinieneś skorzystać lub obalić najczęstsze mity dotyczące WordPressa.

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.

Ujawnienie: Nasze treści są wspierane przez czytelników. Oznacza to, że jeśli klikniesz na niektóre z naszych linków, możemy otrzymać prowizję. Zobacz jak WPBeginner jest finansowany, dlaczego to ma znaczenie i jak możesz nas wspierać. Oto nasz proces redakcyjny.

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.

Najlepszy zestaw narzędzi WordPress

Uzyskaj BEZPŁATNY dostęp do naszego zestawu narzędzi - zbiór produktów i zasobów związanych z WordPressem, które każdy profesjonalista powinien mieć!

Reader Interactions

779 komentarzyZostaw odpowiedź

  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. Marco Dickert

    Hi there,

    I just tried to migrate my blogger-blog to my self-hosted wordpress. Almost all things work as expected, but not the redirection from blogger. I inserted a logging function in the template code for the wordpress-sided interface and recognized that this page does not get any parameters from the blogger redirection. That means I simply get redirected to my home page.

    Is it possible that blogger changed variable names or something? Does anyone has an idea how I could fix that problem?

    Cheers, Marco

    • WPBeginner Support

      Marco, we have just updated the post with a completely new re-written version. Please follow it now, hopefully it will resolve your issue.

      Administrator

      • Marco Dickert

        @WPBEGINNER Support:

        First of all: It’s really nice that you’ve updated this article! I guess you help many users with that.

        Meanwhile I solved my problem, and wrote my solution in an email to Amit Agarwal, but he seems to be very busy.
        Since I come from Germany I don’t get „blogspot.com”-Domains in my Google search results, but „blogspot.de”. Others in German-speaking Europe get also different TLDs like „blogspot.at” or „blogspot.ch”. That is a problem for the template code. I could fix that simply by changing these lines:

        $tld_fix = preg_replace("/blogspot\.[a-zA-Z0-9]+/", "blogspot.com", $old_url);                                                          
        $permalink = explode("blogspot.com", $tld_fix);
        

        With this fix it should work all around the world. Maybe you can implement it in your post; it might be useful for some people.

        Cheers, Marco

        • WPBeginner Support

          Thanks Marco for this really useful fix. We have updated the article to include this.

      • nil

        Hey,

        I have the same problem. Tried your script but when I go to an old posting I just get redirected to my first page, not to the post.

        Regards
        nil

  3. Liza Pritz

    Wouldn’t it be easier to use a plugin? Something like „CMS2CMS Blogger to WordPress Converter” ? With this plugin, it is posible to migreta the content, the set up 301 redirect and keep all the visitors and ranking on a new WordPress site?
    Does anyone knows something about that?

  4. Saad Ansari

    Nice efforts. One shop stop guide for Blogger to WordPress migration.

    Is there any way of importing all images from blogger and put them all together in WordPress? I’ve a huge number of images with me. Uploading each of them MANUALLY would be a nightmare, isn’t it? So do let me know if there is any smart and efficient plan B for it. Thanks!

  5. Xuhair Raxa

    great post !!! but i have a question.. that is after the conversion,will the domain be .com or blogspot.com ? As i have a blog http://tricksnsolutions.com which is wp blog after making it a blogger blog shall it remain to tricksnsolutions.com or tricksnsolutions.blogspot.com ? please solve my confusion

  6. Briana M

    My old website is with Blogger, but I am switching over to WordPress and using a new domain name. I already have hundreds of business cards with my old domain name listed (###.blogspot.com) and I want that old domain name through Blogger to redirect to my new domain name and WordPress website. How can I go about doing this?

  7. Bryan

    Hi there,
    I am a newbie.
    I just wanted to ask a quick question:
    When I import my blogger posts into wordpress, will they be deleted from blogger or will they still be there with no changes?

    Thanks

  8. Christian

    Hi!

    The Blogger code doesn’t work today. I think the markup is obsolete because Blogger says the following by submitting the code from WP Beginner:

    „The value of attribute „dir” associated with an element type „html” must not contain the '<' character."

    I just replaced simple and double quotes and other ways to solve this, but is completely impossible. Does anyone know if Blogger has made related to the markup?

    Thank you all.

  9. hafzaa

    Very well explained…will try it..hope so it may work…

  10. Kapil Dev Singh

    I have moved from blogger to WordPress and carried out all the steps. I am encountering two problems-
    1. The blogger link for specific blogs is not taking me to the wordpress
    2. When someone wants to come to wordpress following a specific blog link, it shows – the file could not be found and give a list of all the published blogs. Once clicked on the specific blog for which the link was followed, it opens up.

    Regards

  11. Desi

    I keep getting this message in blogger

    Error parsing XML, line 2, column 73: The value of attribute „dir” associated with an element type „html” must not contain the '<' character.

    anyone else?

  12. Carl

    (Previous comment did not include code… how can I do that?)

    Not sure if something has fundamentally changed with the blogger importer or how posts info is stored in the database; But the code above for the wpbeginner-blogger.php failed for almost all my links. I ended up changing it to this:

    <?php
     /*
      Template Name: Blogger Redirect (do not use)
     */
     global $wpdb;
     $old_url = $_GET['q'];
     if ($old_url != "") {
       $permalink = explode("blogspot.com.au", $old_url);
       
      $new_url = $permalink[1];
      header ("HTTP/1.1 301 Moved Permanently");
      header("Location: $new_url");
     }
     
    ?>
    

    Anyone see any reason this is bad? It seems to work perfectly, I’m still trying to figure out why it was done any other way to begin with… As long as you fix the permalinks to match the old blogger ones

  13. Dean

    Hi, hopefully someone will be able to help. Whenever I click one of my old blogger posts it just sends me to my new wordpress site’s homepage not to the correct blog post? any ideas how to fix this. thanks.

    • Raj Amal

      My old blogger posts it just sends me to my new wordpress site’s homepage not to the correct blog post. Plese help me

    • Paige

      I’m having the same issues. How did you fix this?

  14. Sanskar

    I am stuck with the infinite loop. The website keeps refreshing and never loads. I am not sure how to fix it.

  15. Sanskar

    OK, I am sorry about the previous comment. I was using Switch hosts firefox plugin and I was browsing on my local copy. My website has not gone live yet. Though I have clicked on Go live button on Godaddy, and looks like DNS settings are updated, but my website has gone in an infinite loop and never loads. It loads the title, loads the favicon and I also see it loading chrome extensions like alexa and adblock, but then it refreshes and starts loading again. This never stops.

    Do you think it is the problem with DNS? or that I did not follow the tutorial properly? It has been already 11 hours since I updated the DNS. Both my domain and hosting is bought from Godaddy.

    • WPBeginner Support

      Using an FTP client, connect to your website and download .htaccess file to your computer. Then delete the one on your live site. See if this resolves the issue. If it does, then this means there is nothing wrong with DNS settings of your website and it was probably a redirection issue. You may also contact your web host for support if this does not solve your issue.

      Administrator

  16. Gari Anne

    Everything worked perfectly! Thanks! How Long do I have to leave the Published „Blogger” page on my new word press blog? Or is there a way to hide that page?

  17. Carol

    I’m still having the same problems but none of my comments have been published or answered. Did the guy who wrote this post give up on it? I’ve noticed a few people had the same problem – is it something that can be fixed? It would be great to get a response.

    Thanks

  18. carol

    ok – I’ve been reuploading the text doc over and over and one thing that has changed is – I’m using a Mac and my doc is .rtf. When I take the .rtf off after the .php I get the line 16 error code but if I keep the.rtf on after the .php and I clink on any of my blogger posts it redirects to the Blogger page that I created for the redirect on my new website. Does that make sense? I don’t understand any of this php stuff so I don’t have any idea why it would do that just by adding or deleting the .rtf extension – but that’s what happens.

    I hope you have some idea of how I can fix this. It seems like it’s something pretty simple – I just don’t know what.

  19. carol

    i just redid all the the cpanel installation part and now the syntax error says line 16

    Parse error: syntax error, unexpected T_STRING in /home4/craftyc/public_html/wp-content/themes/suffusion/wpbeginner-blogger.php on line 16

  20. carol

    I just went through the whole process and when I click on „View Blog” on my Blogger page it redirects perfectly to my website (yay!), but if I click on any of the individual posts I get this error message:

    Parse error: syntax error, unexpected T_STRING in /home4/craftyc/public_html/wp-content/themes/suffusion/wpbeginner-blogger.php on line 15

    I saw some people here getting syntax errors on different lines but I didn’t see anything to fix it.

  21. Besplatne Knjige

    Hello!

    I have this blogger blog, and I would like to build some backlinks on worpress blog. Is there any way to create some wordpress blog and automatically post parts of my original post from blogger with my link. Something like auto post on social networks…
    I hope you understand what I want (my English is not so good)

    Thank you

  22. nick

    hi, i am about to carry out this process but i have one concern. my blogger address doesnt have the blogspot.com attached to it. i paid to have the domain showing just my blog name. however i still edit my blog with blogger. now i want to switch and im wondering if theres any step i need to do differently so as not to run into problems.

    cheers

    • Sharon

      I have the same situation. I already bought my domain but still hosting it on blogger and I want to switch but I don’t know if I should follow the same steps as discussed here on this post. Any help is greatly appreciated.

    • Jackie Montalvo

      I have the same issue so I’d love to hear what my options are because I’ve wanted to switch ove but I wasn’t sure I could since I bought the domain name already. Please let me know!

      • WPBeginner Support

        You can manage your custom domain from the registrar website. Currently Blogger has stopped offering custom domain registration from the Blogger interface so most users need to purchase a domain from another registrar and then setup the domain to point to the Google servers. When moving this domain to a new web host you need to remove these settings from your domain control panel on the registrar’s website.

        1. First find out your domain registrar.
        2. Login to your domain registrar control panel.
        3. Remove CNAME and A record settings pointing to Google servers.
        4. Enter your new webhost’s settings into domain control panel.

        Most WordPress hosting providers offer detailed guides on how to move a domain name to point to their servers.

        Administrator

    • Amanda

      Thank you SO much for posting that plugin …. I was going crazy trying different tutorials with none of them working! :)

  23. Naomi Madelin

    I tried this, but get the message from WordPress that I can’t access Content nor fiddle with Themes in any way. So I’m now stuck!

  24. Sagar

    Hello!
    I want to migrate a blog on Blogger to WordPress which just has 15 pages, no posts, so I can do it manually, but I want to know about 301 redirect, how do I do it? Please can you help me with this?

  25. Elaine Griffin

    I’m very confused, because when I go to tools -> import, I am prompted to download a plugin. Any thoughts?
    Thanks!

  26. Emma

    Does anyone know if you can import from 2 different blogger blogs into one wp?

  27. Jan Bear

    Thanks for a useful post.

    When you’ve finished this process, will you be able to do future blog posts in WordPress, or do you have to continue using Blogger as your blog platform?

    Does this integrate the WordPress and Blogger blog posts? Or will they be on separate pages of the new site?

  28. Wendi Gratz

    Never mind – I figured it out. For those who run into the same problem. . .

    When you copy and paste the PHP coding make sure there isn’t a blank line above the start of the <?php.

    I don't know if mine snuck in during copying or pasting – but I removed it and everything works perfectly now.

  29. Lenin

    For some users, all the blogspot posts might be redirected to the new blog homepage (and not the individual new post URL). This is because the original link is blogspot.in and not blogspot.com

    To fix this issue, add the following line of code after the link $permalink = explode(„blogspot.com”, $old_url);

    if(count($permalink) == 1) //we cant find blogspot.com in the URL lets try for blogspot.in
    {
    $permalink = explode(„blogspot.in”, $old_url);
    }

  30. Tim

    Great post. Unfortunately after doing this Google marked my old Blogger blog as a spam blog! I’m going through the process to get it unlocked, so hopefully that will solve it. Great tutorial though and very simple to follow – thanks!

  31. John Pile

    This is a really great step-by-step tutorial. Unfortunately, I missed one of the wpbeginner.com links in the replacement template for my blogger site. It resulted in redirecting to your website, which then prompted Blogger to immediately mark my blog as SPAM.

    I fixed the template and now everything redirects correctly, but I had to request that my blog be reviewed or else it will be deleted in 22 days.

    I’m wondering if anyone else has ran into this issue and how the review process went? I used one of my test websites for this, so I won’t be incredibly disappointed if the original blogger site is deleted, but I did want to offer this warning to others. I recommend using CTRL-F to replace all occurrences of wpbeginner.com in the template.

    -John

    • Tim

      I replaced all instances and it still marked my old blog as spam. It must just be the fact that it’s doing a complete redirect that makes them think it could be spam. I’ve just kicked off the review process, so I’ll have to see how it goes. Did yours come back ok in the end?

      • R. endymion

        Hello, I’ve also replaced all instances but it is still marked as SPAM. Has anybody found a solution for this ?
        Thank you.

        • R. endymion

          I report to google and they change it in only one day. We just need to be patient.

  32. jose morales

    I just downloaded all my site in Blogger however it is not showing the whole article… any ideas?

  33. Salue

    i’v done all of this THANK YOU

    was wondering 1 thing can i delete the blogger page that i made ? because its showing in the menu bar like next to about me

  34. zed kosnar

    Hello again! managed to fix the other error, and now i get redirected from Blogger to wordpress, but if I click on an old post, of blogger I get his message „Parse error: syntax error, unexpected T_LNUMBER in /nfs/c09/h01/mnt/127155/domains/desdeabajo.net/html/wp-content/themes/twentyeleven/WPBeginner-Blogger.php on line 5” hope you can guide me here… Thanx in advance!

  35. zed kosnar

    Hello!
    I followed the instructions but when I posted the HTML (step 5) try to check „a preview” I get this message „Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly. XML error message: Comment must start with „<!–".
    Error 500 " I double checked data and still getting this message, doesn't save if I click try to go ahead… Any thoughts what I could be doing wrong? Thank you!

  36. David

    Hi, on step 5 I get this message:

    Error parsing XML, line 3, column 73: The value of attribute „dir” associated with an element type „null” must not contain the '<' character.

    Can you help?

    • nick

      solve this issue? im experiencing the same error

    • Alexander

      The problem occurs if you do not press „Revert to classic template”. Even if you did not changed the template at the beginning you have to revert to classic template, then it should work.

  37. Joanna Mecina

    Hello, i have a blogger template, how ca i convert it to wordpress? Thanks

  38. Linda Leyble

    Hi – very good post. I switched last month from Blogger and I am very happy. But, since Feedburner is going away – do you recommend that we use FeedBlitz instead? Very confused about this.

    And also – when I left Blogger – I lost many of my followers on GoogleFriend Connect. I emailed my followers there and alerted them to my new site. Slowly but surely I am gaining them back on my new site. I also emailed the RSS followers on Feedburner and also on Bloglovin. Do you recommend any other ways for people to follow your blog?

    Thanks,

    Linda

    • Editorial Staff

      We haven’t seen any public press release by Google that says FeedBurner is going away. Sure there are some speculations around the industry that it is, but only time will tell. We are sticking with feedburner for now.

      Administrator

  39. Kaitlin

    Everything looked great, but now that I’m clicking past links (posted to facebook) to check if the redirect is working properly, I’m getting this error:

    Parse error: syntax error, unexpected T_STRING in /home/content/81/9774981/html/wp-content/themes/simple-catch/WPBeginner-Blogger.php on line 3

    Help?

  40. Jeanne

    I just migrated a blog from blogger to WordPress but used a plugin to perform a similar task as above. I don’t like plugins and am thinking of deactivating it and doing this instead.

    Question though: One thing I found that did NOT work when I did this was that pages did not redirect. Posts redirected just fine with no problems at all (well, I did have to have my hosting provider whitelist mod security) but PAGES would not redirect at all (and, worse, not only would they not redirect, links pointing to old blogger pages would return a „page not found” error).

    Before I deactivate the plugin I’m using, and go this route, I’m curious if this will work for pages….Any comment?

    Thanks!!

  41. Gretchen Louise

    I’m not seeing the „Revert to Classic Template” anywhere. Have they removed that option?

    • Dave Morrow

      Agreed, I am having the same problem, the newest Blogger does not seem to have that option… Anyone else have an answer for this?

      • Tom G

        Go to templates…

        Scroll to the bottom of the page.

        It says something like „Classic Template” or something like that. I can;t get to it now that I have done it.

        Then scroll to the bottom of that refreshed page. It’s at the bottom.

        Sorry if this doesn’t make sense. It was not as cut and dry as listed above.

  42. Chetan

    Nice Post. I was wondering if moving from blogspot to wordpress is possible if I have a custom domain hosted on blogger?

    Look forward to your reply.

  43. Monkey

    Hi, Great tutorial thank you.

    Does this work with any wordpress theme?

    I am very new to WordPress. So apologies if this is an ignorant question.

  44. Ahmad Awais

    Nice tutorial Faizan Bro, Finally you are using WordPress :)
    I hope you are not quite aware of the fact that WP is much strong than Blogger platform.
    Keep up your great work.

    I would rather say that instead of page template you can slowly move on to each post and use 301 redirect plugin for redirecting and making your blog independent of the old blogger’s template.

    • Syed Faizan Ali

      Thanks Bro, Yeah After going through lots of Articles and Tutorials I discovered WordPress is the best Blogging Platform I have converted few of my Blogger Blog to The Self-Hosted WordPress Blog.

      Your Idea is Cool but if we have tons of Posts like 4000 posts, then redirecting would become stressful. This method is quite good, takes less time and gives perfect results.

  45. Derek

    Hi Stephen,

    For step 4 how do you write “blogger” in the URL? Click on change permalinks? I did that and change the permalink to end with /blogger but still revert back to previous URL that end with ?page_id=149.

    • Syed Faizan Ali

      Brother Create a New Page and Write The Title blogger, Choose WPbeginner from the Template Menu don’t Worry About the URL And Publish it, Now Open the Published Page Again From Your WordPress ADMIN PANEL and you will be able to See the URL beneath the Page Title, Just Click EDIT and rename it to /blogger and don’t Forget to UPDATE THE POST.

      Also Update your WordPress Permalink Go to WordPress Dashboard >> Settings >> Permalinks >> Custom Structure >> /%year%/%monthnum%/%postname%.html.

  46. Gautam Doddamani

    i was using blogger earlier but changed to wordpress since it is the best cms around and also i get full control over my site…and there are a ton of tutorials for wordpress which makes blogging more easier and fixing site less time consuming :D

    • Syed Faizan Ali

      Yes, indeed WordPress has the most powerful Blogging Platform. Keep it up on Good Things Peace and Blessing.

  47. Guppu Boss

    Nice Tutorial Faizan. I have just purchased hosting and after my exams i am going to transfer my blogger blog to wordpress. You explained all steps very well. Will follow this tutorial again while transfering my blog.

    • Syed Faizan Ali

      Thanks For Sharing Nice Views, Yes Brother Feel Free To Apply This Tutorial Any Time You Like. Its Great That you are thinking to move from Blogger to WordPress, it will give more power to you. Peace Mate

  48. Mairaj Pirzada

    Great Post, well done Syed Brother! You did a Nice Work! Keep it up but I don’t need this post as My site is now setup on WordPress!

  49. Stephen Cronin

    Hi. Have you tested that PageRank is preserved?

    The 301 is happening on your WordPress site, not your Blogger site. It is merely telling Google to use one of your WordPress pages instead of another one of your WordPress pages (and transfer PageRank between these).

    The 301 is not telling Google to use your WordPress site instead of your Blogger site, or to transfer any PageRank from your Blogger site to your WordPress one.

    You’re using JavaScript to move *users* from the Blogger site to the WordPress one, but there is no evidence that Google will treat this as a 301 and transfer any pagerank.

    A few years ago, the prevailing SEO wisdom would have been that Google couldn’t even crawl the JavaScript, so the Googlebot wouldn’t even go to the WordPress site. Googlebot can now execute some JavaScript, but still – what makes you think it will treat it as a 301?

    I’m not having a go at you personally, but this is the first I’ve heard of this (I can’t find anyone else in SEO circlet talking about this) and I’d be really interested in seeing the evidence that this works. Thanks.

    • Editorial Staff

      Hey Stephen,

      This is a guest post. However from the looks of the code, the canonical tags are the ones that should do the work.

      Administrator

Zostaw odpowiedź

Dziękujemy za pozostawienie komentarza. Pamiętaj, że wszystkie komentarze są moderowane zgodnie z naszymi polityka komentarzy, a Twój adres e-mail NIE zostanie opublikowany. NIE używaj słów kluczowych w polu nazwy. Przeprowadźmy osobistą i konstruktywną rozmowę.