Forum

Thread tagged as: Question

Rewrite rule for custom page content

Hi,

How do I create SEO friendly safe URL's using my htaccess?

I am using "Perch" where I have created my own custom content template for "Products" which are also categorized using a select drop down, this all works well but how do we change the URL to a SEO friendly safe URL "/products?cat=kitchen&s=product-one" in my htaccess?

Regards Craig

Craig Lambert

Craig Lambert 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I wrote a guide to Apache’s mod rewrite here:

https://24ways.org/2013/url-rewriting-for-the-fearful/

Thanks Drew, this is very helpful.