Site icon Hip-Hop Website Design and Development

Exclude subfolder in WordPress permalink

I have built a test website with this permalink structure: https://www.test.de.www279.your-server.de/

Now I exported it to a live domain with all in one wp migrate and urls got changed aligned to the live domain (test2.de)

Sadly, in many image URLs etc there still is the subfolder www.279.your-server.de implemented which is causing a lot of errors.

Search and Replace did not work at all. Any way I can debug this?

What I want

Change all
https://www.test.de.www279.your-server.de/

to

https://www.test.de

and make sure that images like https://www.test.de.www279.your-server.de//wp-content/uploads/2021/11/testg.jpg automatically skip the www.279 part.

Bests,