LoginSignup
1

More than 5 years have passed since last update.

トップページで参照するhtmlファイルをindex.htmlから別htmlファイルにする方法

Posted at

htmlファイルがあるディレクトリで.htaccessという名前のファイルを作成し、以下のような内容を入力する。
以下の例では、index.htmlをhryshtk.htmlにしている。

DirectoryIndex hryshtk.html

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1