対象外のリンクやエラーページへ行こうとするとトップのindexに飛ばせたいのですが、
トップのソースは開いてもページは遷移しないため、cssなどが反映されないものになっています。
やりたいことは40番ページを表示させるのではなく、トップのページに移動させたいです。
.htaccessのソース
AddDefaultCharset Shift-JIS AddType "text/html; charset=Shift-JIS" .html .css .js DefaultLanguage ja <Files ~ "(\.htaccess|\.xml)"> deny from all </Files> DirectoryIndex ../index.html ErrorDocument 403 ../index.html ErrorDocument 404 ../index.html ErrorDocument 500 ../index.html ErrorDocu
回答4件
あなたの回答
tips
プレビュー