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.
リダイレクトしたい:
domainname.com/instalator(存在しない)からdomainname.com/installへ
.htaccessを使用します。これどうやってするの ?
mod_alias の使用:
Redirect 301 /instalator /install
mod_rewrite の使用:
RewriteEngine On RewriteRule ^/?instalator(/.*)$ /install$1 [L,R=301]
/installリソースまたはある種のルーターにマップする他の書き換えルールがある場合は、mod_rewrite に固執する必要があり、ルーティング ルールの前に上記のルールを配置する必要があります。
/install