.htaccess - How to temporary redirect given pages in codeigniter using htaccess -


i redirect htaccess codeigniter pages following url coming page

*.domain.ext/customer/any_page

to /customer/comingsoon

any tips?

why not use routing facility in codeigniter?

$route['default_controller'] = 'customer/comingsoon'; 

or

$route['(:any)'] = 'customer/comingsoon'; 

try :

rewriteengine on rewritecond %{request_uri} /(.*) rewriterule /(.*) http://domain.ext/customer/coomingsoon 

Comments