rsanchez / resource_router

Resource Router for ExpressionEngine
MIT License
48 stars 12 forks source link

Rewrite Stati URL #32

Open dellanesta opened 8 years ago

dellanesta commented 8 years ago

Hi, I need some Help

I dont now how to rewrite category page url

example Page Category Template = pagcat Category URL Indicator = indcat Category Name = sports-wear

the expressionengine url for this page is: www.mysite.com/pagcat/indcat/sports-wear

I need to have (for SEO) a custom url that has nothing to do with the original URL like: www.mysite.com/custom/url/

I tried

$config['resource_router'] = array( 'pagcat/indcat/sports-wear' => 'custom/url' );

but it doesn't work

any ideas, Thank you very much

Michele