Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

301 Redirect for each files

I am hoping someone can suggest a good solution. I have some pdf files stored on azure blob storage and I like to implement a way so when a pdf file name change and if someone try to access the old pdf file name I want them to redirect to the new pdf file and send 301 redirect status. I believe I can't do. this using htaccess since these files will rename dynamically and I want to implement a solution so 301 redirect with the new file name will occurred automatically. I don't want to maintain htaccess file. Any advice or a good solution?