'newsfeed', 'regex' => '^{alias}/(\d*)/(.*)', // matched against url, and if true, redirected to 'redirect' below. 'sef' => '{alias}/{newsfeed_id}/{newsfeed_sef}', // used by e107::url(); to create a url from the db table. 'redirect' => '{e_PLUGIN}newsfeed/newsfeed.php?id=$1', // file-path of what to load when the regex returns true. ); $config['index'] = array( 'alias' => 'newsfeed', 'regex' => '^{alias}/?', // matched against url, and if true, redirected to 'redirect' below. 'sef' => '{alias}', // used by e107::url(); to create a url from the db table. 'redirect' => '{e_PLUGIN}newsfeed/newsfeed.php', // file-path of what to load when the regex returns true. ); return $config; } }