問題点
パーマリンク設定で「基本」から「投稿名」に変えて、記事を投稿すると404エラーが発生します。この404エラーを解決したいです。
Not Found
The requested URL /hoge/ was not found on this server.
環境
CentOS7、Apache、PHP7.1.20
各ファイルの設定
【.htaccess】/var/www/html/.htaccess
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
【httpd.conf】/etc/httpd/conf/httpd.conf
<Directory "/var/www/html"> # AllowOverride None AllowOverride All # Allow open access: Require all granted </Directory>
問題を解決するために試したこと
以下の記事をみて対応をしましたが、解決には至りませんでした。
https://urashita.com/archives/1452
https://teratail.com/questions/137871
http://kasegoo.info/operation/652/
https://tetsuyan01.com/wordpress/817/
宜しくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。