Handle redirects when using the get function
Merge branch 'redirects'