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

WordPressを新しいドメインに簡単に移動する方法(SEOを失うことなく)

編集メモ: WPBeginner のパートナーリンクから手数料を得ています。手数料は編集者の意見や評価に影響を与えません。編集プロセスについて詳しく知る。

WordPressサイトを新しいドメインに移したいですか?

サイトのドメイン名を変更することは、SEOランキングに大きな影響を与える可能性があるため、慎重に行う必要があります。

サイトを新しいドメインに移行する際、一時的なSEOの変動を避けることはできませんが、影響を最小限に抑え、検索トラフィックとランキングを素早く回復させることは可能です。

このガイドでは、SEOを損なうことなくWordPressを新しいドメインに移行する適切な方法をご紹介します。

Migrating a WordPress website to a new domain name without loosing SEO

WordPress サイトを新しいドメイン名に移行するのは怖いことですが、そんな必要はありません。私たちは、プロセスのすべてのステップをご案内します。

以下のリンクをクリックすると、WordPressサイトを新しいドメイン名に移行するための特定のステップに進むことができます:

動画チュートリアル

Subscribe to WPBeginner

もし、文章での説明がお望みなら、このまま読み進めてほしい。

ドメインを変更する前に知っておくべきこと

始める前に知っておくべきことがいくつかある。

新ドメインへの移管手続きは、Googleや他の検索エンジンが変更に対応する必要があるため、一時的に検索エンジンのランキングに影響を与えます。

はい、これは一時的に検索トラフィックにも影響を与えます。これは通常のことであり、新しいドメインに切り替えたすべてのサイトに起こることであることを覚えておいてください。

しかし、このガイドに従うことで、SEOへの影響を劇的に減らすことができる。WordPressサイトを新しいドメイン名に移動し、適切な301リダイレクトを設定し、検索エンジンに通知する正しい方法をご紹介します。

このガイドは、WordPressサイトを新しいホスティングに移行するためのものではありません。ドメイン名の切り替えのみです。プロセスは似ていますが、いくつかの追加ステップがあります。これらの余分な手順は、SEOランキングとトラフィックを保護するのに役立ちます。

最後に、古いサイトがWordPress.comにある場合は、WordPress.comからWordPress.orgに移行する方法のガイドの指示に従ってください。

プレステップ始めるために必要なもの

このガイドでは、oldsite.comでWordPressサイトを立ち上げ、newsite.comに移行しようとしている場合を想定しています。

また、すでにWordPressのホスティングサービスアカウントをお持ちで、ウェブホスティングのコントロールパネルに慣れていることを前提としています。

また、FileZillaのようなFTPクライアントの使い方や、ホスティングアカウントのダッシュボードで利用できるファイルマネージャーアプリを使ってファイルを編集する方法も知っておく必要があります。

ホスティングサービスをお持ちでない場合、または新しいプロバイダーに切り替えたい場合は、Bluehost(小規模サイトに最適+無料ドメイン付き)、SiteGroundまたはWP Engine(大規模サイトやオンラインストアに最適)のいずれかを使用することをお勧めします。

それらが整えば、プロセスを開始する準備は整ったことになる!

ステップ1:WordPressサイトのDuplicatorパッケージを作成する

まず最初にすべきことは、WordPressサイトの完全なバックアップを作成することです。

このバックアップを使用してサイトの複製を作成し、旧ドメインから新ドメインへのリダイレクトを適切に設定できるようにします。

WordPressのバックアッププラグインは数多くありますが、今回はWordPressのバックアップと移行に最適なプラグインであるDuplicatorを使用します。

注:Duplicatorには無料版もあり、この移行に使用することができます。しかし、自動クラウドバックアップ、1クリックサイトリカバリ、より簡単な移行など、より多くの機能をアンロックするために、有料プランにアップグレードすることをお勧めします。

まずは、古いドメイン名にDuplicatorプラグインをインストールして有効化しましょう。詳しくは、WordPressプラグインのインストール方法のステップバイステップガイドをご覧ください。

プラグインを有効化すると、WordPress管理画面にDuplicatorメニュー項目が追加されます。Duplicatorメニューをクリックし、’新規作成’ボタンをクリックしてWordPressサイトの新しいパッケージまたはコピーを作成する必要があります。

Create a new Duplicator package

Duplicatorはバックウィザードを初期化し、自動的にこのパッケージに名前を割り当てます。

Next(次へ)」ボタンをクリックして進みます。

Duplicator package name

Duplicatorはいくつかのテストを実行し、すべてが正常かどうかを確認します。もしプラグインが問題を発見した場合、警告と指示が表示されます。

すべての項目が「Good」となっていれば、「Build」ボタンをクリックする。

Duplicator build package

プラグインは、サイトファイルのDuplicatorパッケージの作成を開始します。サイトのサイズによっては、この処理に数分かかる場合があります。

完了すると、「ダウンロード」オプションが表示されます。それをクリックすると、両方のファイルをダウンロードするか、インストーラとアーカイブ(zip)を別々にダウンロードするかのオプションが表示されます。

Duplicator download both files

コンピュータにダウンロードするには、「両方のファイル」を選択します。

アーカイブファイルはWordPressファイルの完全なコピーです。WordPressテーマ、パーマリンク設定、プラグイン、アップロード、WordPressプラグインによって作成されたその他のファイルが含まれます。

インストーラスクリプトは、アーカイブファイルを解凍することでWordPressの移行を自動化し実行するPHPファイルです。

ステップ2:新規ドメイン名のデータベースを作成する

WordPressサイトを新しいドメインに移動する前に、新しいドメイン名でWordPressを展開するための新しいSQLデータベースが必要です。

すでにデータベースを作成している場合は、このステップは省略できます。

データベースを作成するには、ホスティングサービスのcPanelダッシュボードにアクセスし、「データベース」セクションまでスクロールダウンし、「MySQLデータベース」アイコンをクリックする必要があります。

ここでは、Bluehostでそれを見つける方法を示しますが、基本的な手順は同じであり、すべてのホスティングサービスに適用されるはずです。

Bluehostアカウントのダッシュボードにログインし、サイトの下にある「設定」ボタンをクリックします。

Bluehost site settings

サイト設定で、「高度な設定」タブに切り替える必要があります。

cPanelセクションまで少しスクロールダウンし、「管理」をクリックします。

Bluehost cPanel

cPanelのダッシュボードが開きます。

Databasesセクションまでスクロールダウンし、’MySQL Databases’オプションをクリックする。

Bluehost cPanel MySQL Databases

注:あなたのホスティングサービスのコントロールパネルは、スクリーンショットとは若干異なって見えるかもしれません。しかし、新規データベースを作成するオプションがあるデータベースセクションを見つけることができるはずです。

データベースの名前を入力し、「データベースを作成」ボタンをクリックします。

Bluehost cPanel create MySQL database

cPanelはあなたのために新しいデータベースを作成します。その後、MySQLユーザーセクションまでスクロールダウンする必要があります。

次に、新規ユーザーのユーザー名とパスワードを入力し、「ユーザーを作成」ボタンをクリックしてください。ユーザー名とパスワードは安全な場所に控えておいてください。

Bluehost cPanel add MySQL database username and password

先ほど作成した新規ユーザーには、まだデータベースを操作する権限がありません。変更しましょう。

Add User to Database(ユーザーをデータベースに追加)」セクションまでスクロールダウンします。まず、「ユーザー」フィールドの隣にあるドロップダウンメニューから、作成したデータベースユーザーを選択します。次に、作成したばかりの新規データベースを選択し、’Add’ボタンをクリックします。

Bluehost cPanel Add user to database

次に、ユーザーの権限を選択するよう求められます。

すべての権限」を選択し、「変更を加える」ボタンをクリックして続行します。

Bluehost cPanel MySQL database user privileges

これでデータベースの準備が整い、WordPressを新しいドメイン名に移行することができます。

データベース名、ユーザー名、パスワードは本当に〜してもよいですか?この情報は次のステップで必要になります。

ステップ 3: 新規ドメインでWordPressを解凍する

さて、先ほどダウンロードしたDuplicatorファイルを新しいドメイン名にアップロードする必要があります。

DuplicatorパッケージにはWordPressのインストールも含まれています。つまり、新しいドメインにWordPressをインストールする必要はありません。

まず、FTPクライアントを使用してドメイン名に接続します。接続したら、サイトのルートディレクトリが完全に空であることを確認します。

その後、アーカイブとインストーラファイルをルートディレクトリにアップロードします。これは通常public_htmlと呼ばれます。

Upload Duplicator files to new domain name

両方のファイルのアップロードが完了したら、WordPressを解凍する準備ができました。

新しいブラウザータブを開き、以下のURLにアクセスする:

http://example.com/installer.php

example.comを新しいドメイン名に置き換えることを忘れないでください。これでDuplicator移行ウィザードが起動します。

Duplicator installer wizard

インストーラはアーカイブファイルを探し、画面上で自動的にオプションを選択します。

少し下にスクロールして、前のステップで作成したデータベースの情報を入力する。

Duplicator add database info

その下に、Duplicatorは自動的に旧ドメインと新ドメインのURLを表示します。

問題がなければ、’Validate’ボタンをクリックして次に進む。

Duplicator validate details

Duplicatorは提供された情報を使ってデータベースへの接続を試みます。

成功した場合、バリデーション・パスが表示されます。そうでない場合は、修正方法の詳細とともに警告が表示されます。

Duplicator validation passed

Next(次へ)」ボタンをクリックして進みます。

DuplicatorはWordPressサイトのインポートを開始します。完了すると、成功メッセージと管理者ログインボタンが表示されます。

Duplicator migration finished

Duplicatorは自動的にURLを新しいドメイン名に更新します。管理者ログイン」ボタンをクリックして、次のステップを完了することができます。

ステップ4:恒久的な301リダイレクトを設定する

次のステップは、旧ドメイン名でアクセスしたユーザーを新ドメインに誘導することです。これは301リダイレクトを設定することで行う。

301リダイレクトは、SEOとユーザーエクスペリエンスにとって非常に重要です。301リダイレクトを追加することで、ユーザーや検索エンジンを新しいドメイン名に自動的にリダイレクトすることができます。

つまり、誰かがあなたの旧ドメインの投稿やページにアクセスすると、404エラーが表示されるのではなく、新ドメインの同じ投稿やページに自動的にリダイレクトされます。

リダイレクトを維持するには、古いWordPressインストールを有効化したままにしておく必要があります。

リダイレクトを設定するには2つの方法があります。最初の方法は簡単で、数回クリックするだけです。2つ目の方法は、手動でファイルを編集する必要があります。

方法1:All In One SEOで301リダイレクトを設定する

この方法には、All In One SEO(AIOSEO)が必要です。これは市場で最高のWordPress SEOプラグインで、WordPressサイトを簡単にSEOに最適化することができます。

まず、旧ドメインにAll In One SEOプラグインをインストールして有効化する必要があります。詳しくは、WordPressプラグインのインストール方法のステップバイステップガイドをご覧ください。

:リダイレクトマネージャーアドオンにアクセスするには、少なくともプラグインのProバージョンが必要です。また、新規WordPressサイトにAIOSEOを設定することで、検索エンジンのランキングとトラフィックをさらに高めることができます。

旧ドメインで有効化した後、All In One SEO ” リダイレクトページにアクセスし、「リダイレクトを有効化」ボタンをクリックする必要があります。

Activate redirects

次に、’Full Site Redirect’タブに切り替え、’Relocate Site’トグルをオンにします。

その後、「Relocate to domain」オプションの隣に新しいドメイン名を入力する必要があります。

Full site redirect

変更を保存」ボタンをクリックして、設定を保存することを忘れないでください。

方法2:新規ドメインへのリダイレクトを手動で設定する

この方法では、旧ドメイン名のWordPress .htaccessファイルを編集する必要があります。

まず、FTPを使って古いサイトに接続し、.htaccessファイルを編集する必要があります。

これは、wp-includesまたはwp-adminフォルダと同じディレクトリにあります。.htaccessファイルを開き、一番上に以下のコードを貼り付けます:

#Options +FollowSymLinks
RewriteEngine on
Unchanged: RewriteRule ^(.*)$ http://www.newsite.com/$1 [R=301,L]

上記のコードで、newsite.comを新しいドメインに置き換えていることを確認してください。

これらの変更を適用したら、古いドメイン名にアクセスしてください。自動的に新しいドメインにリダイレクトされるはずです。

そうでない場合は、リダイレクトが適切に設定されておらず、サーバーがリダイレクトルールをサポートしていない可能性が高いことを意味します。RewriteEngineを有効にするには、ウェブホスティングサービス会社のサポートチームに連絡する必要があります。

ステップ 5: 新規ドメインを Google に通知する

WordPressを新しいドメイン名に移行し、リダイレクトを設定したら、Googleにアドレスの変更を通知しましょう。こうすることで、Googleが新しいサイトドメインを素早く見つけ、検索結果に表示されるようになります。

まず、新旧両方のドメインが2つの異なるプロパティとしてGoogle Search Consoleに追加されていることを確認する必要があります。手順については、Google Search Consoleガイドのステップ1を参照してください。

次に、Google Search Consoleアカウントのダッシュボードで、有効化したプロパティとして旧ドメイン名を選択する必要があります。

Select old domain

その後、左のカラムから「設定」メニューをクリックします。

住所変更」ツールをクリックします。

Change of Address

ここで、Googleの更新セクションから新しいドメインを選択する必要があります。

そして、’Validate & Update’ボタンをクリックしてください。

Add new address to change of address

これですべてです。Googleは、古いドメインが新しいドメインにリダイレクトされていることを確認し、変更を保存します。

次の画面では、Google Search Consoleが住所変更リクエストを送信するためのステップバイステップのウィザードを表示します。

新規ドメイン名をユーザーに知らせる

301リダイレクトがその役割を果たす一方で、移行について公表することは常に良いことだ。

新規サイトでブログ記事を投稿し、それをソーシャルメディアアカウントで共有するだけでよい。

メールマガジンや プッシュ通知の購読者がいるなら、彼らにも告知を送るべきだ。

これはいろいろな意味で役に立つ。

何よりもまず、ユーザーは一度その新ドメインについて読んだら、そのドメインを覚えている可能性が高くなります。

2つ目は、ユーザーにバグを見つけたら教えてもらうことです。あなた一人では、あらゆる種類のブラウザーやシステム環境でサイトをテストすることはできません。常に新鮮な目で見てもらうことは有益です。

このチュートリアルが、WordPressサイトを新しいドメイン名に移行する際のお役に立てば幸いです。また、無料メールドメインの取得方法や、専門家が選ぶ最高のビジネス電話サービスもご覧ください。

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.

情報開示 私たちのコンテンツは読者支援型です。これは、あなたが私たちのリンクの一部をクリックした場合、私たちはコミッションを得ることができることを意味します。 WPBeginnerの資金源 をご覧ください。3$編集プロセスをご覧ください。

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.

究極のWordPressツールキット

ツールキットへの無料アクセス - すべてのプロフェッショナルが持つべきWordPress関連製品とリソースのコレクション!

Reader Interactions

508件のコメント返信を残す

  1. Syed Balkhi says

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

  2. Moinuddin Waheed says

    When we migrate our blog to the new domain name and all the files and database gets into its new domain , how long does it take for Google to know that it has to rank this new domain?
    Also old domain names have domain authority and new domain names will take time to build a domain authority, how does seo remain unaffected if we switch to new domain?

    • WPBeginner Support says

      The 301 redirects are what tell Google to take note of the new domain. There is no specific timeline for when Google will update but as Google crawls the 301 redirects it will redirect and update your listing in search results. While your old links rank they will also redirect to the new location.

      管理者

      • Moinuddin Waheed says

        Thanks for the reply and clarification about the query.
        I think after some time of the full setup to the new domain, isn’t it prudent to completely close the old domain and focus on new domain.
        or is it better to let 301 redirect continuously redirects to the posts and page and in the meantime when we fully satisfy that all old domain requests are redirects to new one, only then we take decision to stop old domain.

        • WPBeginner Support says

          You would want to check the analytics for the old domain, if you are still getting a good amount of traffic to that domain that is being redirected then you would keep the old domain active, if you are not getting visits to your old domain you would then look to close it.

  3. WPBeginner Support says

    If you reach out to your host they can sometimes help and temporarily override their upload limits to get your files into your hosting.

    管理者

  4. Moinuddin Waheed says

    for redirecting to new domain, it is better to use the plugin itself that you have suggested i.e all in one seo which is easy to do for all with no coding knowledge people.
    And as for accessing the .htaccess file and manually changing it to redirect is somewhat only technical expertise people will look forward to.

  5. Don says

    Hi, thank you so much for your guide. We our doing a rebranding resulting in a name change and new url. Our WP administrator will be doing the migration and 301 redirect. Aside from notifying our database and social media followers in our newsletter, I am wondering if we can create a landing page on the new site for the redirects that announces the rebranding, and then segues into the new site after a preset interval.

    • WPBeginner Support says

      If you wanted to instead of redirect 1 to 1 the articles, you could certainly redirect the entire site to a landing page.

      管理者

  6. Unarine Leo Netshifhefhe says

    My website has been hacked and I haven’t really gotten time to fix it that much, I would like to know if this problem of it been hacked has some kind of effect on SEO? Does it affect it badly? And my website stops appearing?

    • WPBeginner Support says

      It would depend on if anything changed on the front-end of your site but it can have a negative effect on your site’s SEO.

      管理者

    • WPBeginner Support says

      You would not use FTP for your domain, you would want to use the tools in either your domain registrar or hosting provider.

      管理者

    • WPBeginner Support says

      There is no universal answer for every site, it would depend on your site and audience but if you wanted to be safe a year is normally long enough for users who would revisit your site to see the change especially if they check your site for seasonal content.

      管理者

  7. James says

    Hello, I hope you are doing good. How about migrating a subdomain to a completely new domain name ? For example, migrating “example.blog.com” to “example.com”.

    • WPBeginner Support says

      You can still use this method for moving from a subdomain to a completely new domain :)

      管理者

  8. ronald says

    we still are using our existing site for some things, but not for blogs. these were migrated. we set up 301 redirects and all working smoothly but curious… after migration, with 301 redirects all set up on old server, should we unpublish the posts on old server so they no longer are on old sitemap?

    • WPBeginner Support says

      If you plan to continue to use your old site for other uses then it would normally be best to remove the content you’ve set up redirects for.

      管理者

  9. thierry says

    Thanks a lot for this piece, following thes instructions was really clear and everything went smooth without any problems thanks thanks and thanks!

  10. Mark says

    Thank you. I tried so many other plugins and techniques – none worked very well.

    Although crazy complex for a simple thing this is a great technique. After nuking my earlier attempts this one fixed everything. Fonts, images, thumbnails, etc.
    Thank you.

  11. Manas Patil says

    Hello, this article was of great help. Thanks a ton!

    But I’d to ask – since I’ve one SSL certificate, I thought I’d move the SSL from my old site to my new site. If I do move it, should it cause any errors while I redirect from my old site to new site?

    Thanks in advance!
    Manas

    • WPBeginner Support says

      You would want to check with your hosting provider as some have methods to help prevent any errors when changing domains on the same host if they only have one SSL certificate. In general, it should not cause any issues if set up properly.

      管理者

      • Manas Patil says

        Thanks a ton! I managed to move my site completely. Towards the end of the Search Console part, is it necessary to submit the sitemap again – because I don’t see my previous sitemap submissions on my new domain property.

        • WPBeginner Support says

          If you haven’t submitted a sitemap for the new domain you would want to do so to help Google crawl your URLs :)

  12. BIKRAMJIT KONWAR says

    Hi, many thanks for the article. I have a confusion here, can I migrate my WordPress site to a new domain without migrating the existing theme as I want to change the theme?

  13. Amir says

    Hello
    After migration to new domain, how should i send new post on my site ? Send a new post on old domain or new domain?

  14. Paco says

    I’m moving to a new domain name, but I’m still going to use the old domain name for other purposes. I don’t want to redirect the entire oldsite to newsite. What’s the recommended way in this case? Thanks.

  15. Hassan says

    It helped me a lot, my question is in ftp I will enter my new domain name and user name and password, then you said the installer file and archive file the installer file is it the wordpress zipp file or something else?

  16. F NIc says

    Hi, thank you for this detailed guide. I intend to switch domain from Bluehost to GoDaddy and I am wondering if my wordpress website will be affected in terms of how it will look after the switch.

    • WPBeginner Support says

      Your hosting provider would not affect how your site looks, as long as there are no issues with the duplication process the site should look the same.

      管理者

    • WPBeginner Support says

      If you are staying on the same host, you would first want to check with your hosting provider as some have tools to help with changing your site’s domain.

      管理者

  17. Andy says

    I’m having a little trouble with Step 5. Notifying Google About the Change.

    When I filed the change of address (the Search Console seems to have changed since you wrote this post, but I figured out the new procedure OK), the validation failed because Google couldn’t fetch the home page for my old site.

    • WPBeginner Support says

      Thank you for letting us know, for this situation, you would want to point Google to your new site for it to test the redirects.

      管理者

  18. amir says

    can I delete the old host and domain after I did all the steps? or I should renew the host and domain after then

    Thanks

    • WPBeginner Support says

      It is normally a good idea to redirect the old domain to the new one for some time but you can end the old hosting and still redirect the old domain if you wanted.

      管理者

  19. Dejan says

    Hi Wpbeginner!

    Very good article as usual, i have a question just to double check, will all paths be changed? For example media links and so on? Thanks again

    • WPBeginner Support says

      Using this method, your links to images and other media should be updated as well.

      管理者

  20. dariu says

    Thanks for this. What is the difference for migrating to new host (and domain)? Is there any difference in steps and instructions?

  21. Jose says

    Thanks for a great tutorial!

    I’ve ran into a quirk after following all the steps.

    My site redirects everything EXCEPT the content of the home page.

    I updated the name servers about two days ago.

    I did the redirection via .htaccess.

    I’m not sure where to look to troubleshoot the issue. Any direction is appreciated. Thanks again!

    • WPBeginner Support says

      We would recommend checking for any caching plugins as well as reaching out to your hosting provider for the most common reasons for that issue and your hosting provider can normally take a look from their end as well.

      管理者

      • Jose says

        Following up.

        I was/am using W3 Total Cache.

        Before I migrated, I forgot to disable caching. And that caused issues.

        After the migration, I had to manually remove W3 Total Cache in order to get the new site working again.

        There was a section of caching code left over in the new .htaccess file.

        All has been good since then!

  22. Haitham says

    Hi,

    Great tutorial. I have to ask about the SSL redirects since it may cause issues for domains that use cloudflare for instant.

    So while adding the code on the .htaccess file in the old website how do I add a newwebsite.com/1$ to that command ?

    • WPBeginner Support says

      If you mean how to update your site to a new domain using a CDN like Cloudflare, we would recommend reaching out to the CDN you are using for their current methods for that kind of change.

      管理者

  23. Joe says

    In the last step you mentioned “notify google about the change”.

    But what if don’t notify Google about the change, just move the website to new domain, and remove all the pages from old domain (as my website is new and doesn’t have any organic traffic)?

    Is it valid?

    • WPBeginner Support says

      You can do that if you want but you would likely take a negative hit in your search engine rankings.

      管理者

  24. Jay Dee says

    I have a question about subscribers the website who have created profiles. Would I have to do redirects for their individual profile pages ?

    • WPBeginner Support says

      If you are using the same systems then you shouldn’t need an additional redirect unless the tool you are using says so.

      管理者

  25. Rajesh says

    I have a question, I already set 301 redirection, and all the request to the old site is redirecting, now my question is, when I can delete old site and its content permanenty?

  26. Morgan says

    Hello, please I’m confused on this sentence “Once connected, make sure that the root directory of your website is completely empty.”

    How can make the root directory to be empty cause is showing some files and folders. Please I need an answer on how to do that. Thanks

    • WPBeginner Support says

      You can either use FTP or some hosts have file managers you can use to delete the folders or you can reach out to your host for assistance

      管理者

  27. Braeden says

    Thanks for this! How would you handle domain1 is moving to domain2, but, many of the URL slugs on domain1 are different on domain2. For example, domain1/this-is-a-post/ will be going to domain2/this-is-the-new-post/

    • WPBeginner Support says

      It would depend on the specific changes but depending on how drastic the change you may need to manually set up the individual redirects.

      管理者

  28. Marco says

    Thank you for this guide. It helped me.

    I tried the 301 redirect on htaccess. However it only redirects the homepage. Any chance for help? Thanks

    • WPBeginner Support says

      You may want to try clearing your caching and checking with your hosting provider to ensure they don’t see any errors on their end.

      管理者

  29. Gosia says

    This is great if moving a complete old site to a new domain. But what to do to when you are setting up a new site and want to move over only a few posts from the first site? I don’t want to lose organic traffic.

    • WPBeginner Support says

      You can check under Tools>Export and select the specific posts you want to transfer to your site.

      管理者

  30. Alexandre says

    Thanks a lot for this tuto.
    I don’t understand why we have to set up permanent 301 redirects if I keep the same domain name ?

    Thank for your answer,

    Alex

  31. Prasad Rane says

    Hey thanks a lot for this step by step tutorial.I was able to move clients site in just 30 mins. He was surprised. Thanks a lot.

  32. Luiz Pedao says

    Hello, got a bit of a problem here. I transferred my good php and zip files to the public directory, and yet when I browse to mydomain/installer.php it just doesn’t find the page. What could be the problem?

    Thanks in advance

    • WPBeginner Support says

      You may want to reach out to your hosting provider to ensure the domain is set up to the correct location that you’re adding the files.

      管理者

  33. hassan says

    GOOD guide.
    but if I want to change my URLs in a new domain

    my post in the old domain is: oldedoman.com/best-products-2020/
    I want to change to newdomain.com/best-products/

    How to redirect all my posts
    Thanks

  34. Megan says

    Does this process work with a bluehost basic account? I have purchased my new domain but can’t assign it as an Addon domain since I can only have 1 website. What is the best way to work with this?

    • WPBeginner Support says

      If you’re unable to create an addon domain we would recommend reaching out to your host and some offer support or different ways to set it up.

      管理者

  35. Megan says

    Does this method work if I am using the Bluehost Basic plan where I can only have one website? I can’t make my new domain an add on domain.

  36. Utsav says

    Hi,
    I have questions that where to use 301 redirect, in new domain .htaccess or old domain .htaccess.
    In my case I have changed my website domain as well as web hosting. Then where to apply 301 redirect and how many time I should active my old domain and hosting active?

    • WPBeginner Support says

      You would want to add 301 redirects to the old domain. It depends on your old site and personal preference for how long you should keep the old domain active but you shouldn’t need the old hosting.

      管理者

  37. Suchitha says

    I earlier had my domain in a WordPress site that I do not own. I developed my website there. Now, I have moved my domain to a new WordPress site that I own and also used the Export/Import option to transfer my content to the new site. However, I am having to re-design my website again. Does the procedure mentioned here ensure that my site is transferred intact?

    • WPBeginner Support says

      The method in this guide should let you keep your theme and plugins how they are set up.

      管理者

  38. Adz says

    Hi, thanks for sharing.

    Once I’ve successfully migrated my old website to the new domain, will the 301 redirect continue to redirect even after ive deleted my old website? The reason I’m asking is because I have several posts on facebook that point to my old site.

    • WPBeginner Support says

      As long as the redirect remains in your htaccess file it will continue to redirect to your site.

      管理者

  39. Ejimurphy says

    After moving the the old site to new site, do I still need to purchase new SSL certificate or the SSL certificate for old site will work for the new site

    Thanks!

    • WPBeginner Support says

      Most hosts should offer Let’s Encrypt as a free option but you would need to set up SSL for your new domain.

      管理者

返信を残す

コメントありがとうございます。すべてのコメントは私たちのコメントポリシーに従ってモデレートされ、あなたのメールアドレスが公開されることはありませんのでご留意ください。名前欄にキーワードを使用しないでください。個人的で有意義な会話をしましょう。