简体   繁体   English

无法在Wordpress中发表评论

[英]Cannot post comments in wordpress

We have made a duplicate of one of our sites, this is the duplicate: http://test.blog.aias.com.au/ 我们已经复制了一个网站,这是重复的网站: http : //test.blog.aias.com.au/

Cannot get the comments to work for anonymous or admin users on the front end of the site. 无法使评论对网站前端的匿名用户或管理员用户有效。 What I mean by that is that if I am admin I can only post comments via the administration interface (writing a comment in the comments section) but not on the fron-end of the website. 我的意思是,如果我是管理员,则只能通过管理界面发布评论(在评论部分中写评论),而不能在网站的前端。

What is most bizzare is that the comments work fine on the original site but not on the duplicate site. 最可笑的是,这些评论在原始站点上可以正常工作,但在重复站点上却不能。

In the "Discussion" settings, "Users must be registered and logged in to comment" is tuned off but that still doesn't explain why even admin users cannot post comments via the "Add comment" link on the front-end of the website. 在“讨论”设置中,“用户必须注册并登录后才能评论”已关闭,但这仍然无法解释为什么即使管理员用户也无法通过网站前端的“添加评论”链接发表评论。

How can I get the Comments to work for the duplicate site? 我如何才能使评论适用于重复的网站? Is there any back-end configurations files that need changing after doing the deployment to the duplicate website? 部署到重复网站后是否需要更改任何后端配置文件?

thanks, Andrei 谢谢,安德烈

I suggest using this plugin once in the wp-admin, in tools you'll see "Search and Replace" type in the old url(original) and replace with the new url..click go and it will replace every single line in your database with the new value. 我建议一次在wp-admin中使用此插件 ,在工具中,您会看到旧的url(原始)中为“搜索并替换”类型,并替换为新的url ..单击“执行”,它将替换您的每行具有新值的数据库。 I've done this with many wordpress sites moving from dev to production. 我已经完成了许多从开发到生产的wordpress网站。

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

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