I am building a site on Next.js and migrating the content on Headless CMS from WordPress. I have 4 GB of assets (Images, Videos, PDFs, etc) on WordPress which means after moving to Headless CMS, I am having thousands of 404.
I do not want to use those images now onwards BUT the thing is that they are indexed in Google and after migrating we will have thousands of 404. To avoid 404 issues, I need to keep those assets (Images, Videos, PDFs, etc) somewhere with maintaining their current URLs. Like
http://www.example.com/wp-content/uploads/2019/07/image.jpg
We need to keep this URL and avoid 404. This is just an example. We are looking for a way in which we can add this (/wp-content/uploads/) folder on Netlify and remains there without having an effect on our build time. This is just a static folder which will be used to avoid 404 issues.
Is that possible with Netlify? If yes, then HOW if not then do you guys can suggest some alternatives?
Thanks in advance.