DotNetNuke 博客网址和链接
我不知道为什么,但我们的网站上有一个专门的博客页面,主页上显示了一些最新的全部内容。突然间,所有链接(例如条目标题和“阅读更多”链接)都指向主页以显示博客条目而不是博客页面。
我尝试过重新生成永久链接,但这没有帮助。我也找不到允许我在实际博客页面上打开主页博客摘要的设置。
有人知道发生了什么事吗?
谢谢, 雅克
I'm not sure why, but we have a dedicated Blog page on our site with some latest entires showing on the home page. Suddenly all links like the title of the entry and the Read More link are pointing to the home page to show the blog entry instead of the blog page.
I've tried regenerating the permalinks but that didn't help. I also can't find a setting somewhere that allows me to point the home page blog summaries to open on the actual blog page.
Anyone know what's going on?
Thanks,
Jacques
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当您将 DNN 博客模块的组件分布在不同页面上,然后在与正常页面不同的页面上编辑博客条目时,DNN 博客模块似乎会发生这种情况。我看到解决此问题的唯一方法是返回原始博客页面,转到博客条目,点击编辑,然后保存。
It seems this happens with the DNN Blog Module when you have its components spread across different pages and you then edit the blog entry on a different page from the normal page. The only way I saw to fix this is to go back to the original blog page, go to the blog entry, hit edit and then save.
我也遇到过类似的问题,因为我的本地主机 DNN 站点会重定向到可公开访问的 URL 上的实时/生产网站。我认为问题的原因是相同的 - 我认为这是 DNN 博客模块的“SEO 友好 URL”设置的错误。
如果永久链接(在 dnn_BLOG_Entries 的永久链接字段中)使用 seo 友好格式(例如:http://somesite.com/Blog/tabid/xx/Entryid/xx/your-blog-tile.aspx) 由于博客“seo 友好格式”设置,然后单击博客页面的博客条目链接往往会被错误定向 - 在我的例子中,指向生产网站而不是本地主机网站。
取消选中博客“SEO 友好”设置并重新构建永久链接(这似乎不会影响任何内容?) - 然后在博客设置页面中单击“更新”以提交更改 - 然后 编辑每个博客条目 - 即进入编辑模式进行编辑并重新保存 - 似乎可以解决问题,因为这会导致 dnn_Blog_Entries 表中的永久链接字段正确更新。但是,您被非搜索引擎友好的网址永久链接所困扰(例如:http ://somesite.com/Blog/tabid/xx/Entryid/xx/Default.aspx)。
这是截至 2013 年 2 月的最新 DNN 7.x。
I've had similar trouble in that my localhost DNN site would redirect to our live/production website on the publicly accessible url. I think the reason for the problem is the same - I think its a bug with the DNN blog module's 'SEO Friendly URL' setting.
If the permalinks (in the permalink field of the dnn_BLOG_Entries) use the seo friendly format (for ex: http://somesite.com/Blog/tabid/xx/Entryid/xx/your-blog-tile.aspx) due to the blog 'seo friendly format' setting then clicking the blog entry link from the blog page tends to mis-direct - in my case to the production website instead of the localhost website.
Un-checking the blog 'seo friendly' setting and re-building the permalinks (which doesn't seem to affect anything?) - and clicking 'update' in the blog settings page to commit the change - AND THEN editing each blog entry - ie go into edit mode to edit it and just re-saving - seems to resolve the problem, as this causes the permalink field in the dnn_Blog_Entries table to be updated correctly. However, you are stuck with non seo-friendly url permalinks (for ex:http://somesite.com/Blog/tabid/xx/Entryid/xx/Default.aspx).
This is as of latest DNN 7.x as of Feb 2013.