Redirect everything to index.php

前端 未结 3 684
挽巷
挽巷 2020-12-10 17:45

I\'m trying to do clean URLs by exploding $_SERVER[\'REQUEST_URI\'] and then switching between the results.

However, once a user goes outside inde

3条回答
  •  Happy的楠姐
    2020-12-10 18:41

    You can use Apache's mod_rewrite to map URLs based on regular expressions, including sending everything to index.php,

提交回复
热议问题