CodeIgniter removing index.php from url

前端 未结 30 1479
[愿得一人]
[愿得一人] 2020-11-21 11:51

My current urls look like this [mysite]index.php/[rest of the slug].
I want to strip index.php from these urls.

mod_rewrite

30条回答
  •  我寻月下人不归
    2020-11-21 12:11

    if all the above solution not work then in your project folder their will be two files index.html and index.php, rename index.html to index_1.html and browse your project.

提交回复
热议问题