[英]I can't view my wordpress blog posts on MAMP
I started a Wordpress blog last week, currently it is sitting in htdocs within MAMP. 我上周创建了一个Wordpress博客,目前它位于MAMP中的htdocs中。 I was getting on with it well last week, viewing the site through localhost, and viewing my posts.
上周,我进展顺利,通过localhost查看站点,并查看我的帖子。
Coming back to it this morning I can view my dashboard at http://localhost:8888/blog/wp-admin/ I can also see my blog at the list of posts at http://localhost:8888/blog/ but when I click on a blog it says 说回今天早上我可以在观看我的仪表盘的http://本地主机:8888 /博客/可湿性粉剂管理员/我还可以看到我的博客帖子在列表中的http://本地主机:8888 /博客/但当我点击一个博客,上面写着
"Not Found “未找到
The requested URL localhost:8888/blog/2015/09/10/hello-world/ was not found on this server." 在此服务器上找不到请求的URL本地主机:8888 / blog / 2015/09/10 / hello-world /。”
(the url being localhost:8888/blog/2015/09/10/hello-world/) (网址为localhost:8888 / blog / 2015/09/10 / hello-world /)
What would of caused this? 是什么原因造成的? I don't think I've changed anything other then switching themes and a little custom css.
我认为除了切换主题和自定义CSS之外,我没有做出任何其他更改。
Thanks @hobo! 谢谢@hobo! a nice and simple fix!
一个不错的简单解决方案!
I just needed to regenerating the permalinks (just go to Settings .. Permalinks and save). 我只需要重新生成永久链接(只需转到设置..永久链接并保存)。
thanks! 谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.