Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'urlManager' => [
- 'baseUrl' => $baseUrlFront,
- 'enablePrettyUrl' => true,
- 'showScriptName' => false,
- 'rules' => [
- '<post_type:[\w-@]+>/<post_slug:[\w-@]+>' => 'post/view',
- '<taxonomy_slug:[\w-@]+>/<term_slug:[\w-@]+>' => 'term/view',
- '<post_type:[\w-@]+>/<post_slug:[\w-@]+>/<media_slug:[\w-@]+>' => 'media/view',
- 'page/contact' => 'site/contact',
- 'robots.txt' => 'site/robots',
- 'site/<action:\w+>' => 'site/not-found',
- ]
- ],
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement