# Redirection of few urls to another domain

**URL:** <https://talk.jekyllrb.com/t/redirection-of-few-urls-to-another-domain/9859>\
**Category:** Uncategorized\
**Created:** [March 17, 2025, 6:40pm UTC](https://talk.jekyllrb.com/t/redirection-of-few-urls-to-another-domain/9859 "2025-03-17T18:40:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thekosmix](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/thekosmix/32/6281_2.png) [@thekosmix](https://talk.jekyllrb.com/u/thekosmix)\
**Post date:** [March 17, 2025, 6:40pm UTC](https://talk.jekyllrb.com/t/redirection-of-few-urls-to-another-domain/9859/1 "2025-03-17T18:40:29Z")

</div>

I have 2 blogs,

1. [https://www.wanderindia.blog/](https://www.wanderindia.blog/)
2. [https://www.thekosmix.com/](https://www.thekosmix.com/)

Both are built in Jekyll. the first one is a new one where I want to keep all the posts from the 2nd one and use the 2nd one for something else. The problem is the 2nd one has been indexed on Google search and also has links at multiple different sites. So I want to redirect people visiting 2nd site to 1st one.

For eg: someone visiting 1st/things-to-do-in-havelock-island-andaman/ should be redirected to 2nd/things-to-do-in-havelock-island-andaman/

And I want to do in bulk for all /things-to-do-in-\* urls.  
Is there a way? I couldn’t find any solution apart from having all these posts in the older one and use a redirect\_to. Can it be done without keeping all these pages?

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [March 18, 2025, 3:41pm UTC](https://talk.jekyllrb.com/t/redirection-of-few-urls-to-another-domain/9859/2 "2025-03-18T15:41:29Z")

</div>

your webserver may be able to do that.

---

<div class="post-metadata">

**Author:** ![thekosmix](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/thekosmix/32/6281_2.png) [@thekosmix](https://talk.jekyllrb.com/u/thekosmix)\
**Post date:** [March 20, 2025, 7:00am UTC](https://talk.jekyllrb.com/t/redirection-of-few-urls-to-another-domain/9859/3 "2025-03-20T07:00:26Z")

</div>

It’s hosted on Firebase hosting, so not sure if it can provide that. I tried modifying firebase.json, but it didn’t work
