简体   繁体   English

我无法在MAMP上查看我的wordpress博客文章

[英]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.

相关问题 我如何在我的html网站中添加wordpress帖子,博客位于myurl.com/blog - how can i add wordpress posts into my html site the blog is located at myurl.com/blog 使用稳定页面作为博客主页时,如何访问wordpress博客文章的网址? - How can I access wordpress blog posts url when I used stable page as my blog home page? 我的新Wordpress主题完美无缺,但我不知道如何限制博客页面中显示的博客帖子 - My new Wordpress theme works perfectly except I don't know how to limit the blog posts shown in the blog page 博客文章不会在我的自定义WordPress主题上打开 - Blog posts won't open on my custom WordPress theme 如果我更改 wordpress 中的永久链接设置,这会影响我以前的博客文章(即已经发布的博客文章)吗? - If I change the permalink settings in wordpress, will this affect my previous blog posts (ie. already published blog posts)? Nginx Wordpress无法访问博客文章,但可以访问主页 - Nginx Wordpress can't access blog posts but homepage accessible 如何从特定的WordPress帖子中删除“ / blog /”前缀 - How can I strip the “/blog/” prefix from specific WordPress posts 无法查看类别中的所有帖子-Wordpress - Can't view all posts in a category - Wordpress 为什么我在本地环境(仅在原始服务器上)上的Wordpress博客帖子上收到错误消息? - Why do I get an error message on Wordpress blog posts (only) on my local environment (and on the original server I don't) 是否可以在 wordpress 博客的主页上查看帖子和页面? - Is it possible to view posts and pages on the homepage of a wordpress blog?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM