Wordpressトラブルシューティング
イシュー
- Wordpressのトラブル対応、Tipsなど
Wordpressの固定ページがNot Found になったので、対応する。
参考
- WordPress on Herokuでパーマリンクをカスタマイズする方法(あるいはnginxのrewriteルール設定方法) | noriaki blog
- php - Wordpress pages hosted in heroku returns 404 - Stack Overflow
解決方法
- .htaccessファイルを追加してあげるとOK
固定ページURLの一覧作成
参考
対応SQL
select ID, post_date, post_modified, concat('/', post_name, '/') as post_name, post_title from wp_posts where post_status = 'publish' and post_type in ('post', 'page') order by post_date