とURLの異なる種類を作成します。私はかなり/読めるようにしたいURLの2種類持っているかなりのhtaccess
www.mydomain.com/index.php -> www.mydomain.com/index
(remove .php)
そして
www.mydomain.com/information.php?=story1 -> www.mydomain.com/information/story1
(replace .php=? with /)
Im using $_SERVER[REQUEST_URI] to grab the "story" from the database
私は日と時間試したのが、解決策が見つかりません。助言がありますか?
期待どおりの結果と実際の結果を教えてください。 – SteveFest
期待される結果:www.mydomain.com/information/story1 - 実際の結果:www.mydomain.com/information.php?=story1 - 私は.PHPを取り除くために必要がある= – CitronAutobot