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

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

“Czy stracę pozycję w rankingu Google, jeśli przeniosę bloga?”. To pytanie numer jeden, które słyszymy za każdym razem, gdy ktoś zastanawia się nad przejściem z Bloggera na WordPressa.

Rozumiemy to – ale po tym, jak pomogliśmy niezliczonej liczbie blogerów dokonać tego przejścia, możemy powiedzieć z całą pewnością: przejście z Bloggera na WordPressa jest absolutnie możliwe bez poświęcania twoich rankingów Google.

Z biegiem lat udoskonaliliśmy proces migracji, aby zabezpieczyć twój SEO podczas aktualizacji do bardziej wydajnej platformy blogowej. Dzięki próbom i błędom dowiedzieliśmy się dokładnie, co należy zrobić (a czego unikać!), aby zabezpieczyć twoje ciężko zarobione miejsce w wynikach wyszukiwania Google.

W tym przewodniku przeprowadzimy Cię przez naszą sprawdzoną metodę przejścia z Bloggera na WordPressa. Poznasz te same techniki, których użyliśmy, aby pomóc niezliczonym blogerom, takim jak Ty, ulepszyć ich witryny bez poświęcania ich widoczności w wyszukiwarkach.

Switching from Blogger to WordPress

Dlaczego warto przejść z Bloggera na WordPressa?

Obecnie korzystasz z Bloggera, popularnej platformy blogowej stworzonej przez Google, która umożliwia każdemu założenie darmowego bloga za pomocą konta Google.

To świetny punkt wyjścia dla wielu osób, ale wielu początkujących szybko zdaje sobie sprawę, że ich darmowy blog na Bloggerze może wydawać się nieco ograniczony. Może się okazać, że chciałbyś zrobić więcej.

W tym miejscu z pomocą przychodzi WordPress. W przeciwieństwie do Bloggera, WordPress.org daje ci pełną kontrolę nad twoją witryną internetową. Pozwala również na dodanie funkcji niezbędnych do rozwoju twojego bloga i zarabiania pieniędzy w Internecie. A jeśli chodzi o powiadomienie w Google, WordPress.org pozwala wykonać wszystkie ważne modyfikacje SEO, aby poprawić twoje rankingi.

Chcesz uzyskać więcej informacji? Przygotowaliśmy szczegółowe porównanie WordPressa i Bloggera, abyś mógł zobaczyć wszystkie różnice.

Według naszych statystyk badawczych WordPress jest najpopularniejszą platformą witryn internetowych na świecie i obsługuje prawie 43% wszystkich witryn internetowych.

Oznacza to, że wybierając WordPress, dołączasz do milionów innych odnoszących sukcesy witryn internetowych. Wybierasz platformę, której zaufało mnóstwo ludzi i która jest idealna do prezentowania twoich treści.

To powiedziawszy, istnieją dwa rodzaje oprogramowania WordPress, więc ważne jest, aby wybrać odpowiedni.

Pierwszym z nich jest WordPress.com, który jest hostowanym narzędziem do tworzenia witryn internetowych. Dzięki WordPress.com nie musisz szukać własnego planu hostingowego i samodzielnie instalować oprogramowania. Zamiast tego możesz wybrać darmowy plan lub kupić jeden z dostępnych płatnych planów, a Automattic będzie hostować twoją witrynę internetową.

Następnie jest WordPress.org, który jest również znany jako samodzielnie hostowany WordPress. Zawsze zalecamy korzystanie z WordPress.org, ponieważ w przeciwieństwie do WordPress.com, nie musisz płacić za kosztowny plan, aby móc zainstalować wtyczki (pomyśl o nich jak o dodatkach do twojej nowej witryny internetowej WordPress)!

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 wszystkie kroki, które omówimy, aby Twoje przejście z Bloggera na WordPress było płynne i przyjazne dla SEO:

Gotowy? Zaczynajmy.

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 wolisz wybrać alternatywę Bluehost, zalecamy skorzystanie z SiteGround lub Hostinger, ponieważ oba są doskonałymi rozwiązaniami (w rzeczywistości używamy SiteGround do hostowania WPBeginner!).

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.

🧑‍💻 Słyszeliśmy was głośno i wyraźnie! Ponieważ tak wielu z was pytało, z radością ogłaszamy, że oferujemy teraz całkowicie BEZPŁATNĄ usługę migracji z Bloggera do WordPressa w ramach naszej bezpłatnej konfiguracji bloga WordPress! Zgadza się – jeden z członków naszego zespołu ekspertów zajmie się wszystkim za darmo. Możesz dosłownie przenieść się z Bloggera do potężnego świata WordPress bez żadnych kłopotów i ryzyka.

Nasza bezpłatna usługa migracji z Bloggera jest idealna dla mniejszych blogów z mniej niż 1000 wpisów. Jeśli masz większą witrynę Blogger, nie martw się! Nadal możemy pomóc w migracji, ale będzie to usługa płatna.

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.

Migrating your content from Blogger to WordPress

WordPress pobierze i zainstaluje wtyczkę Blogger Importer.

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

Running the Blogger-to-WordPress 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.

Assigning authors to imported posts

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.

Viewing imported posts in WordPress

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
How to set up a custom permalink structure in WordPress

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. Po uruchomieniu skryptu nie zapomnij wyłączyć lub usunąć go z twojej biblioteki WPCode, ponieważ musi on zostać uruchomiony tylko raz.

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.

⚠️ 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ę”.

Migrating from Blogger to WordPress

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

The AIOSEO search engine optimization plugin

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.

Używamy AIOSEO do zarządzania wszystkimi naszymi stronami i wpisami na WPBeginner – i szczerze? Jesteśmy zachwyceni wynikami. Dlatego jest to nasza rekomendacja dla wszystkich.

Aby dowiedzieć się więcej o naszych doświadczeniach, sprawdź naszą szczegółową recenzję AIOSEO.

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.

Film instruktażowy

Subscribe to 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.

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.

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

778 komentarzyLeave a Reply

  1. 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:

        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

      • 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

  2. 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?

  3. 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!

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

  5. 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?

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

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

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

  9. 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?

  10. (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

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

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

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

      Admin

  13. 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?

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

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

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

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

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

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

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

    • 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!

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

        Admin

  20. 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!

  21. 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?

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

  23. 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?

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

  25. 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);
    }

  26. 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!

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

    • 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?

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

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

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

  29. 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!

  30. 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!

  31. 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?

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

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

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

      Admin

  33. 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?

  34. 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!!

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

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

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

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

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

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

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

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

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

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

    • 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

  41. 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!

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

Leave A 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.