I just wanted to see if anyone could offer some thoughts or opinions on an issue we are having.
We are running Drupal 8 multisite via Aegir. We have a production environment and an identical testing environment set up. In our test environment we have our Drupal 8 multisite using domains such as site1-testing.com.
The issue is the file structure is set like /sites/site1-testing.com/files/. This poses an issue when we migrate to our production domain which would be site1.com. Anywhere where we inserted a link to a file would still be referencing /sites/site1-testing.com/files/filename.pdf, which would of course, cause all of our production links to break.
We use linkit as well to insert the files into nodes. I've tried using pathauto, pathologic in conjunction with url aliases but ultimately the direct paths remain the same.
Any thoughts on how we could get around this?