我想将 http://sitename/modules/fb/fb.php
的网址重定向到 http://sitename/modules/take_control
。如何使用htaccess执行此操作
我试过
RewriteRule ^/?modules/fb/fb\.php$ take_control
,是吗?
答案 0 :(得分:2)
如果您尝试重写take_control,那么您的解决方案与最有可能想要的解决方案相反。
试一试。这些规则应该以两种方式提供a generic construct requires that the type 'MyEnum' have a default constructor
重写作为URI。
take_control