change implementation to match BC blog post about seo-friendly urls