# How to change domain without losing ranking?

**URL:** https://meta.discourse.org/t/how-to-change-domain-without-losing-ranking/80256
**Category:** Self-hosting
**Created:** [10.Февраль.2018 13:46:50 UTC](https://meta.discourse.org/t/how-to-change-domain-without-losing-ranking/80256 "2018-02-10T13:46:50Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![trangchongcheng](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trangchongcheng/32/120005_2.png) [@trangchongcheng](https://meta.discourse.org/u/trangchongcheng)
#### Post date: [10.Февраль.2018 13:46:50 UTC](https://meta.discourse.org/t/how-to-change-domain-without-losing-ranking/80256/1 "2018-02-10T13:46:50Z")

</div>

I’m using [A.COM](http://A.COM) domain, now i want change to [B.COM](http://B.COM), i want after change without losing ranking.  
i do like : [https://meta.discourse.org/t/change-the-domain-name-or-rename-my-discourse/](https://meta.discourse.org/t/change-the-domain-name-or-rename-my-discourse/)  
But if when click the posts of [A.COM](http://A.COM) from google search then 404 error.  
Please help me…Tks support!

---

<div class="post-metadata">

### Author: ![SouperC](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/souperc/32/62875_2.png) [@SouperC](https://meta.discourse.org/u/SouperC)
#### Post date: [10.Февраль.2018 15:12:03 UTC](https://meta.discourse.org/t/how-to-change-domain-without-losing-ranking/80256/2 "2018-02-10T15:12:03Z")

</div>

> **[What is a 301 Redirect, and When Should You Use One?](https://blog.hubspot.com/blog/tabid/6307/bid/7430/what-is-a-301-redirect-and-why-should-you-care.aspx)**
>
> Learn the details of a 301 redirect, why websites use them, and how they differ from other redirects.

---

<div class="post-metadata">

### Author: ![trangchongcheng](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trangchongcheng/32/120005_2.png) [@trangchongcheng](https://meta.discourse.org/u/trangchongcheng)
#### Post date: [10.Февраль.2018 15:21:54 UTC](https://meta.discourse.org/t/how-to-change-domain-without-losing-ranking/80256/3 "2018-02-10T15:21:54Z")

</div>

How can do it with discource…

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [10.Февраль.2018 17:30:03 UTC](https://meta.discourse.org/t/how-to-change-domain-without-losing-ranking/80256/4 "2018-02-10T17:30:03Z")

</div>

Easiest would be to run another server that does the redirect. A more complicated way would be to run an external web server that reverse proxies. See the topic about running discourse with other web servers for the start of how you’d do it.

---

<div class="post-metadata">

### Author: ![trangchongcheng](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trangchongcheng/32/120005_2.png) [@trangchongcheng](https://meta.discourse.org/u/trangchongcheng)
#### Post date: [12.Февраль.2018 00:17:03 UTC](https://meta.discourse.org/t/how-to-change-domain-without-losing-ranking/80256/5 "2018-02-12T00:17:03Z")

</div>

Now, in run [A.COM](http://A.COM) on server A.  
I run [B.COM](http://B.COM) on server B.

And redirect all link [A.COM](http://A.COM) to [B.COM](http://B.COM)?  
Do not lose rankings? @pfaffman  
Thanks \<3

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [12.Февраль.2018 02:27:59 UTC](https://meta.discourse.org/t/how-to-change-domain-without-losing-ranking/80256/6 "2018-02-12T02:27:59Z")

</div>

That’s my best guess. I don’t pretend to know anything about seo.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [12.Февраль.2018 05:51:54 UTC](https://meta.discourse.org/t/how-to-change-domain-without-losing-ranking/80256/7 "2018-02-12T05:51:54Z")

</div>

[Use the change of address tool](https://support.google.com/webmasters/answer/83106?hl=en) from Google Webmasters. AFAIK it won’t affect SEO if all old website URLs are smoothly redirected to the new website.

> **Do I lose credit for links when I redirect to new URLs?**  
> No, 301 or 302 redirects do not cause a loss in PageRank.

> **[Site Moves and Migrations | Google Search Central  |  Documentation  | ...](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes?hl=en&ref_topic=6033084&visit_id=639158963297405283-1362220279&rd=1)**
>
> Learn how to change the URLs of existing site pages, including domain name changes. Explore moving a website with little impact on search results.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [08.Ноябрь.2023 22:21:36 UTC](https://meta.discourse.org/t/how-to-change-domain-without-losing-ranking/80256/9 "2023-11-08T22:21:36Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [14.Декабрь.2023 15:52:50 UTC](https://meta.discourse.org/t/how-to-change-domain-without-losing-ranking/80256/10 "2023-12-14T15:52:50Z")

</div>


