ホームページ >バックエンド開発 >PHPチュートリアル >.htaccess ジャンプ ルールの解決策を探しています
.htaccess ジャンプ ルールのリクエスト
要件は http://wwww.adna.com/asdasd/9889/index.html?from=9292
http://wwww.adna.com/ にジャンプしますasdasd/9889/index.html これはどうやって書くのですか?
-----解決策---------
の RewriteEngine RewriteBase /
# Hotel
RewriteRule ^index_(.*)$index.html?from=$1 [NC]
のように9292の値を書きますこれ、紛失しただけです、確認コード
------解決策------------------