[英]Redirect with .htacces to a controller with CodeIgniter
I want to redirect my example.com
web page to example.com/controller
我想将我的
example.com
网页重定向到example.com/controller
How do I do this with .htaccess
? 我如何用
.htaccess
做到这一点?
Here you go 干得好
Rewrite Rule: 重写规则:
RewriteEngine On
RewriteRule ^controller$ / [L]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.