よろしくお願いします。
WordPressでパーマリンクの設定を「基本」以外にすると、トップページ以外でInternal Server Errorが出る問題を解決したいです。
Internal Server Errorが出る箇所は、
・投稿ページ
・固定ページ
・カテゴリ
上記を確認しています。
投稿ページはパーマリンクを触っていません。
固定ページはパーマリンクを変更しました。(work-request といった感じ)
カテゴリにはスラッグを追加しました。(work-info といった感じ)
.htaccessファイルは編集しました。
php
1# BEGIN SAKURA Internet Inc. 2<IfModule mod_deflate.c> 3 SetOutputFilter DEFLATE 4 AddOutputFilterByType DEFLATE text/css 5 AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript 6</IfModule> 7<IfModule mod_expires.c> 8 ExpiresActive On 9 <FilesMatch ".(css|js)$"> 10 ExpiresDefault "access plus 1 week" 11 </FilesMatch> 12 <FilesMatch ".(gif|jpe?g|png)$"> 13 ExpiresDefault "access plus 1 month" 14 </FilesMatch> 15</IfModule> 16# END SAKURA Internet Inc. 17 18# BEGIN WordPress 19<IfModule mod_rewrite.c> 20RewriteEngine On 21RewriteBase /wp/ 22RewriteRule ^index.php$ - [L] 23RewriteCond %{REQUEST_FILENAME} !-f 24RewriteCond %{REQUEST_FILENAME} !-d 25RewriteRule . /wp/index.php [L] // ここを変更した(元:RewriteRule . /index.php [L]) 26</IfModule> 27 28# END WordPress
さくらインターネットでのエラーログです。
[Wed Aug 01 11:24:40.852240 2018] [core:error] [pid 12579] [client 131.129.185.238:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://example.com/
.htaccessを初期化したら動くのかもしれませんが、サイトのURLは今の状態から変更したくありません。
どのように解決したらよいでしょうか?
あなたの回答
tips
プレビュー