Remove “index.php” from URL - Codeigniter

前端 未结 12 1172
清酒与你
清酒与你 2020-12-03 16:05

I\'ve looked in the documentation of Codeigniter of removing the index.php from the URL when accessing different views, the code shows how to remove it with apa

12条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-03 16:24

    I have the same problem, the things is.

    1. htacces should be in the root of Codeigniter
    2. Remove "Deny from all" in your htacces file.
    3. Add the code on the post above

提交回复
热议问题