Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次の問題があります。人々が www.mydomain.com にアクセスするときに、実際に www.mydomain.com/folder にアクセスする必要があり、URL に www.mydomain.com が表示され続けます。
サーバーの de .htaccess でこれを行うにはどうすればよいですか? ありがとう
必要なのはそれだけです。
RewriteEngine On RewriteRule ^(.*)$ /folder/$1 [L]
何かを尋ねる前に検索してみてください。そのような例はたくさんあります。