【发布时间】:2013-10-29 14:26:47
【问题描述】:
我刚开始使用 WordPress。我已经自定义了 WordPress 默认主题“Twenty_Thirteen”,它运行良好。
Using WordPress 3.6.1
我在localhost/wordpress/mypage 添加了一个custom page:
<?php
get_header(); ?>
<div id="primary" class="content-area">
<div id="content" class="site-content">
Hi! this is my custome page
</div><!-- #content -->
</div><!-- #primary -->
<?php get_footer(); ?>
问题:
当我指向这个 URL 时
localhost/wordpress/mypage
它给了我 404
问题:
我错过了什么
为什么它给出 404,即使页面
mypage.php存在-
WordPress 中是否有任何功能可以获取这些页面的 URL
如何在没有任何插件的情况下做到这一点
我阅读了一些文章,但没有发现任何与我的问题相关的文章。
【问题讨论】: