Only apply redirects on 404

Resolves a conflict when SRM is being used to handle redirects from old post slugs to new post slugs.

Resolves #45.