Update SlugComponent.php

Updated to use 301 redirect from ID to Slug so it is permanently redirected if indexed in Google