Make Snippet work with redirects