doucong6884 2016-01-25 07:09
浏览 83

网站重定向到欢迎Codeigniter页面

Guys I need help I have hosted the website on Ipage Server. I have uploaded the PHP development of the website and extracted the same. Have also created a copy of the Controller files outside the applications folder. But there is a issue here. Whenever I try to view my website in browser-> www.example.com it redirects me to the below page .

====

CODING

Welcome to CodeIgniter! The page you are looking at is being generated dynamically by CodeIgniter.

If you would like to edit this page you'll find it located at:

application/views/welcome_message.php The corresponding controller for this page is found at:

application/controllers/welcome.php If you are exploring CodeIgniter for the very first time, you should start by reading the User Guide.

Page rendered in 0.0133 second

And I am able to see my website only when i try to view as -> www.example.com/index.php/Home .... [Home is the name of my website controller]

  • 写回答

2条回答 默认 最新

  • duanli6834 2016-01-25 07:13
    关注

    Go to application/config/routes.php and set your default controller. By default it's "welcome" controller

    change

    $route['default_controller'] = "welcome";
    

    to

    $route['default_controller'] = "your_controller_name"; // home
    
    评论

报告相同问题?

悬赏问题

  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测