defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. | | Typically there is a one-to-one relationship between a URL string | and its corresponding controller class/method. The segments in a | URL normally follow this pattern: | | example.com/class/method/id/ | | In some instances, however, you may want to remap this relationship | so that a different class/function is called than the one | corresponding to the URL. | | Please see the user guide for complete details: | | https://codeigniter.com/user_guide/general/routing.html | | ------------------------------------------------------------------------- | RESERVED ROUTES | ------------------------------------------------------------------------- | | There are three reserved routes: | | $route['default_controller'] = 'welcome'; | | This route indicates which controller class should be loaded if the | URI contains no data. In the above example, the "welcome" class | would be loaded. | | $route['404_override'] = 'errors/page_missing'; | | This route will tell the Router which controller/method to use if those | provided in the URL cannot be matched to a valid route. | | $route['translate_uri_dashes'] = FALSE; | | This is not exactly a route, but allows you to automatically route | controller and method names that contain dashes. '-' isn't a valid | class or method name character, so it requires translation. | When you set this option to TRUE, it will replace ALL dashes in the | controller and method URI segments. | | Examples: my-controller/index -> my_controller/index | my-controller/my-method -> my_controller/my_method */ //Home Page //http://coupontoaster.co.uk/ #$route['health%20express'] = 'Frontend/index'; $route['default_controller'] = 'Frontend/index'; $route['delete_file_cache'] = 'Frontend/delete_file_cache'; $route['404_override'] = 'Frontend/_404_page'; $route['translate_uri_dashes'] = FALSE; $route['_404_page.html'] = 'Frontend/_404_page'; $route['subscribe-submit'] = 'Frontend/subscribe_submit'; $route['review-submit'] = 'Frontend/review_submit'; //$route['unsubscribe/(:any)'] = 'Frontend/unsubscribe/$1'; //$route['unsubscribe-submit'] = 'Frontend/unsubscribe_submit'; $route['page/(:num)'] = 'Frontend/index/$1'; //Searching $route['dropdown-search'] = 'Frontend/dropdown_search'; $route['search/(:any)'] = 'Frontend/search_store/$1'; $route['search/(:any)/page/(:num)'] = 'Frontend/search_store/$1/$2'; //All Stores //https://www.coupontoaster.co.uk/stores-by-letter $route['stores-by-letter'] = 'Frontend/all_merchants'; //ABC Page //https://www.coupontoaster.co.uk/stores-by-letter/a $route['stores-by-letter/(:any)'] = 'Frontend/single_merchants/$1'; //Privacy Policy //https://www.coupontoaster.co.uk/privacy-policy $route['privacy-policy'] = 'Frontend/privacy_policy'; $route['cookies'] = 'Frontend/cookies'; $route['terms-of-use'] = 'Frontend/conditions_use'; $route['advertise'] = 'Frontend/advertise_us'; //$route['contact-us'] = 'Frontend/contact_us'; $route['contact-us'] = ''; //$route['contact-submit'] = 'Frontend/contact_submit'; $route['contact-submit'] = ''; $route['scholarship'] = 'Frontend/scholarship'; $route['community'] = 'Frontend/community'; $route['affiliate-marketing-course'] = 'Frontend/course'; $route['accessibility-statement'] = 'Frontend/accessibility_statement'; $route['email-send'] = 'Frontend/email_send'; //All Categories RSS //https://coupontoaster.co.uk/category/rss $route['rss/discount'] = 'Frontend/category_rss'; //All Stores RSS //https://coupontoaster.co.uk/category/rss $route['rss/stores'] = 'Frontend/stores_rss'; //Single Category //https://coupontoaster.co.uk/discount/clothing $route['rss/discount/(:any)'] = 'Frontend/single_category_rss/$1'; //$route['(:any)/page/(:num)'] = 'Frontend/merchants/$1/$2'; $route['rss/(:any)'] = 'Frontend/single_stores_rss/$1'; //Our Company //https://www.coupontoaster.co.uk/about-our-company $route['about-our-company'] = 'Frontend/about_our_company'; //All Categories //https://coupontoaster.co.uk/discount $route['discount'] = 'Frontend/all_categories'; //Tag Page //https://coupontoaster.co.uk/mens-clothing-for-sale (change deals to for sale) $route['(:any)-for-sale'] = 'Frontend/tags_page/$1'; $route['(:any)-for-sale/page/(:num)'] = 'Frontend/tags_page/$1/$2'; //Special or Event Page //https://coupontoaster.co.uk/discount/summer-sales $route['discount/(:any)-sales'] = 'Frontend/special_page/$1'; //Single Category //https://coupontoaster.co.uk/discount/clothing $route['discount/(:any)'] = 'Frontend/single_category/$1'; $route['discount/(:any)/page/(:num)'] = 'Frontend/single_category/$1/$2'; //Deals Website Redirect Page $route['rc/(:any)'] = 'Frontend/deals_redirect/$1'; //Stores Redirect Link $route['rm/(:any)'] = 'Frontend/get_merchants_redirect/$1'; //Offers Redirect Link //$route['rcc/(:any)'] = 'Frontend/get_offer_redirect/$1'; //Offers & Stores //$route['get-offer-submit'] = 'Frontend/get_offer_submit'; //$route['get-merchants-submit'] = 'Frontend/get_merchants_submit'; //Store Page //https://coupontoaster.co.uk/tmart $route['moreOffers'] = 'Frontend/ajax_load_more_offers'; //$route['(:any)/page/(:num)'] = 'Frontend/merchants/$1/$2'; $route['(:any)'] = 'Frontend/merchants/$1'; #new new next js rule #$route['instant/(:any)'] = 'Instant/$1'; #$route['instant/(:any)/(:any)'] = 'Instant/$1/$2'; #new next js rule ended $route['(:any)/page/(:num)'] = 'Frontend/ajax_load_more_offers/$1/$2'; //Admin Section Route $route['adminpanel/login'] = 'Login'; Error

An Error Was Encountered

Unable to determine what should be displayed. A default route has not been specified in the routing file.