【发布时间】:2013-04-13 21:43:12
【问题描述】:
我在 MySQL 数据库中有一堆数据,这些数据由自动递增的 id 值索引。
一行看起来像这样:
id | title | description | story
1 | A good day in the neighborhood. | Mr. Rogers is in the neighborhood | A long text wall here...
每 6 小时通过 cron 作业将新数据添加到数据库中。我想用这些数据自动生成静态页面。现在我有动态页面,即 www.mysite.com/story?id=1
我真的很想有一个可以在 www.mysite.com/title-of-story 访问的静态页面
我环顾四周,但真的找不到办法吗?
【问题讨论】:
标签: php database wordpress dynamic static