
にほんブログ村
こんにゃちわ、猫山通信の猫山猫雄ですにゃ。
Ubuntu18.04でWordpressをインストールしてパーマリンク設定を基本以外にすると404になってしょんぼりしてました。
一応解決したのでメモ代わりに記載しておきます。
前提条件として、 WebArenaのVPSクラウドにて Ubuntu18.04イメージで構築
基本的にはここのページを参照します。
Overrideを許可 以降を別方法でやります。sudo vi /etc/apache2/apache2.conf
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None ←このNoneをAllに変更
Require all granted
</Directory>
あとはApacheを再起動 sudo service apache2 restart
これでできるはずです。(何か足りなければ追記します。)
それでは皆様、次の投稿でまた会いましょうにゃ。
It’s the best time to make some plans for the future and it’s time to be happy.
I’ve read this post and if I could I desire to suggest you some interesting things or
tips. Perhaps you can write next articles referring to this article.
I desire to read more things about it!