ãªã©ã¤ãï¼æ¸ãæãï¼ã®è¨è¿°ä¾ ä¸è¬çãªè¨è¿°ä¾ #ãªã©ã¤ãã¨ã³ã¸ã³ã®éå§ RewriteEngine on #æ¸ãæãã®ãã¼ã¹ã¨ãªããã¹ RewriteBase / #ãã¡ã¤ã³ãwwwããã«çµ±ä¸ RewriteCond %{HTTP_HOST} ^(example\.com)(:80)? [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] #ãã£ã¬ã¯ããªã®ç§»è»¢ RewriteRule ^old_dir(.*)$ /new_dir$1 [R=301,L] #ãã¡ã¤ã«ã®ç§»è»¢ RewriteRule ^old_dir/index\.html$ /new_dir/index.html [R=301,L] #ã¯ãã¼ã©ã®ã¢ã¯ã»ã¹ç¦æ¢ RewriteCond %{HTTP_USER_AGENT} Badbot-1 [NC, OR] Re
{{#tags}}- {{label}}
{{/tags}}