简体   繁体   English

哪个页面打了wordpress默认博客导航

[英]Which page hit the wordpress default blog navigation

I am novice in wordpress. 我是wordpress的新手。 Recently i create a blog which home page shows the recent 10 post. 最近,我创建了一个博客,其主页显示了最近的10条帖子。 When it increase more than 10 post then it show next page link. 如果增加超过10个帖子,则显示下一页链接。 This link is generated by below code : 此链接由以下代码生成:

<div class="next-posts"><?php next_posts_link('&laquo; Older Entries') ?></div>

When i click this link it goes http://example.com/page/2/ and show Error 404 - Page Not Found 当我单击此链接时,它会转到http://example.com/page/2/并显示错误404-找不到页面

I put page.php, blog.php in my theme but it still shows same error. 我将page.php,blog.php放在主题中,但仍然显示相同的错误。 So now i wanted to know which page hit the wordpress default blog navigation ? 所以现在我想知道哪个页面在wordpress默认博客导航中起作用?

Thanks. 谢谢。

To solve this issue Goto permalinks in wordpress, from there choose the link structure. 要解决此问题,请转到Wordpress中的永久链接,然后从中选择链接结构。 And it will give you the lines of code. 它将为您提供代码行。

Open FTP to access .htaccess file in website and just paste the code. 打开FTP访问网站中的.htaccess文件,然后粘贴代码。 It will simply work. 它将简单地工作。

Happy Coding! 编码愉快!

Atul 阿图尔

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM