Apacheã®RewriteRuleã§ã/hoge/é ä¸ã«ã¢ã¯ã»ã¹ããã£ãã http://example.jp/fuga/ ã«301ãªãã¤ã¬ã¯ããè¡ããã£ã¦ãªå¦çãæ¸ãå ´åãå é ã«/ãå¿ è¦ãªå ´åã¨å¿ è¦ãªãå ´åãããã RewriteEngine on # ããã§ãããå ´åããã RewriteRule ^/hoge/(.*) http://example.jp/fuga/$1 [R=301,L] # ããæ¸ããªãã¨ãã¡ãªå ´åããã RewriteRule ^hoge/(.*) http://example.jp/fuga/$1 [R=301,L] ãã®å é ã«/ãå¿ è¦ä¸è¦ã®éãã¯ãªãã ãããªã¼ã¨æã£ã¦ããããå æ¥çç±ãããã£ãã Apacheã®ããã¥ã¡ã³ãã«ãã£ããæ¸ãã¦ãã£ãã RewriteRule Directive What is matched? In VirtualHost c
{{#tags}}- {{label}}
{{/tags}}