# Changed domain of WordPress and Onebox

**URL:** <https://meta.discourse.org/t/changed-domain-of-wordpress-and-onebox/231429>\
**Category:** Product Support\
**Created:** [June 29, 2022, 8:44am UTC](https://meta.discourse.org/t/changed-domain-of-wordpress-and-onebox/231429 "2022-06-29T08:44:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
**Post date:** [June 29, 2022, 8:44am UTC](https://meta.discourse.org/t/changed-domain-of-wordpress-and-onebox/231429/1 "2022-06-29T08:44:15Z")

</div>

I had WordPress and Discourse connected using WP-Discourse. The domain of WordPress has changed from `katiska.info` to `katiska.eu`. So, I needed change domain of all OneBoxes made by WP-Discourse.

There is 500+ linkings so updating by hand at WordPress is not the first option.

I did

```plaintext
rake posts:remap[".katiska.info",".katiska.eu"]
rake posts:rebake_match[".katiska.eu"]

```

It did the job, mostly. But is there better way to achieve same?

However, there is ~~two~~ one minor things.

> **something we finnish call as brain fart…**
>
> I couldn’t change the text of tag’ish url for outbound link to new domain. Link itself has changed, though. So, this is just a cosmetic thing and bothers only me. If I update Discourse-linking from article itself, it changes on Discourse side.
> 
> ![image](https://global.discourse-cdn.com/meta/original/4X/4/f/d/4fdb402ea14d8a6f947f094b6ffb15fe1826531b.jpeg)
> 
> - `katiska.info` should be `katiska.eu`
> 
> **AAAAND…** Same time i wrote that I realized that I replaced form `.katiska.info`because I wasn’t sure if I have emails somewhere that have to stay in old form. But there isn’t that leading comma. Well, I leave this to show how stupid I am 🤦‍♂️
> 
> _edit_: Nope, I can’t change ”outboung icon” from `katiska.info` to `katiska.eu` either.

But this is the issue:

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/e/b/4ebd5b64bf19e6c4d620d93c37fafe01636a215f.jpeg)

That link goes to old domain. It doesn’t change to new one even I updated linking from WordPress. Quite few will click it after they red the article on forum, but it shows wrong, and at some point dead, link to Google.

I choosed support, not wordpress-category, because I should have ability to change such trivial thing on Discourse. But because I have no idea what I was and am doing, there is really big risk I Just Can’t Do It™.

---

_[View the full topic](https://meta.discourse.org/t/changed-domain-of-wordpress-and-onebox/231429)._
