# Update single file without rebuild. Next.js / Remix / node

**URL:** <https://community.fly.io/t/update-single-file-without-rebuild-next-js-remix-node/3320>\
**Category:** Questions / Help\
**Created:** [December 4, 2021, 9:34pm UTC](https://community.fly.io/t/update-single-file-without-rebuild-next-js-remix-node/3320 "2021-12-04T21:34:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spencer](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/spencer/32/11041_2.png) [@spencer](https://community.fly.io/u/spencer)\
**Post date:** [December 4, 2021, 9:34pm UTC](https://community.fly.io/t/update-single-file-without-rebuild-next-js-remix-node/3320/1 "2021-12-04T21:34:42Z")

</div>

Right now I’m building a website in Remix.js and I’m trying to figure out the best way to handle redirects. I have a Wordpress database that I’m converting to headless and I have a ton of redirects, as well as, I create about 2 new redirects per week.

Currently on Build my app gets the data from WP and stores it to a .json file. I then check the url for a match each time a visitor hits the server to redirect.

Do I just create a GitHub action to rebuild the site each time I make a new redirect? Is there a more dynamic way to handle this flow?

Thanks for any help!
