resource_router
resource_router copied to clipboard
Resource Router for ExpressionEngine
I would like to redirect a random 2-character first segment with any 2nd, 3rd etc. segment to the home page. I have a hole list of random 2-character 404's in...
Does Resource Router work with MSM, and could you provide some examples/suggestions of how to use it with MSM? Thanks
Hi, I'm trying to process a form but I'm running into difficulties and I'm trying to determine if the problem is related to my Stash or Resource Router code. Is...
Hi, How would I prevent the following from being a valid URL: http://www.cps.local/en/about-apropos/strategic-directions///// My template route looks like this - 'about-apropos/?([-_a-zA-Z0-9]+)' Is there something I'm missing or could this be...
Hi, I'm having trouble sorting out how to write the routes I need. I am using stash along with Resource Router to determine the templates to be used based on...
Hi! I need to make a website available using two different URLs patterns: `domain.com` and `domain.com/city_code`. My approach currently is to use an `index.php` and a `ny/index.php`. I've split my...
Lets say I've got the url /blog/:category/:entry/, is there anyway using isValidEntry() to validate that the entry is assigned to the category?
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...
Our site has a directory channel with entries that are organized by category. We would like to be able to link to the individual listing with the url as such:...
I have this: ``` 'shop/:any' => function($router,$wildcard){ $router->setUri('shop/home/category/'.$wildcard); } ``` Doesnt do anything. When i output $this->uristring from within the plugin, its shop/blah and not the new uri. Basically, i...