301リダイレクト
主に.htaccessに書くと思うんですが
#301としてリダイレクト Redirect permanent /hoge/index.html /hoge/fuga/index.html
って言う風にかきます。
他のサイトにリダイレクトしたいなら
#301としてリダイレクト Redirect permanent /hoge/index.html http://exsample.com/hoge/fuga/index.html
#Redirect で正規表現を使いたい場合 RedirectMatch permanent ^\/hoge\/index\.html$ http://exsample.com/hoge/index.html
といった感じで、 それより複雑な場合は RewriteCondで条件指定してRewriteRuleでリダイレクトチックな事をします。