Since I haven’t had a lot of time to write for the last few years, I have decided to let the domain romantika.name to expire at the end of this month. From my experience with domains, someone will buy the domain and squat there with some ads. Especially a domain that has been around for 15 years!
Domain Name: ROMANTIKA.NAME Created On: 2004-12-29T08:00:57Z Expires On: 2020-12-29T08:00:57Z Updated On: 2019-12-27T05:51:05Z
For now, I have enabled redirection so that all links to the old domain will redirect to this one.
Here is the nginx config to achieve this.
server_name www.romantika.name romantika.name; rewrite ^\/v2(\/?.*) https://blog.adyromantika.com$1 last; rewrite ^(.*) https://blog.adyromantika.com$1 permanent; |
As for WordPress, it’s pretty easy using WP-CLI:
wp db export backup.sql wp search-replace 'https://www.romantika.name' 'https://blog.adyromantika.com' wp search-replace 'https://romantika.name' 'https://blog.adyromantika.com' |
I have also transferred all of the domains I own to Cloudflare and saved more than 50%.
Let’s hope 2021 will be a better year for all of us.