Let's say my app is running on domain.com and most of links in the internet to this site looks like this: domain.com/:id. I want to improve SEO a little bit and add redirects (301): domain.com/:id => domain.com/:title. But to get title for id I have to run angular app and check this in DB. So what I want to do is: User go to domain.com/:id Check title for id from url inside angular app Redirect user with 301 status to domain.com/:title Continue reading...