如何使用FishPig将Wordpress与Magento集成?

时间:2012-01-26 10:49:16

标签: wordpress magento fishpig

我尝试使用FishPig将WordPress与我的Magento网站集成,并且成功率达95%。 WP安装在家庭用户public_html wp及以下是Magento Database Integration页面中的设置。

Magento and WP uses different db's.  
Integration level:  Full  
Blog Route: blog  
WP Path: /home/user/public_html/wp

WP Admin区域的设置为:

WordPress Address (URL): http://domain.com/wp
Site Address (URL): http://domain.com/blog

问题是,Magento管理区域仍然显示Blog Route的红色感叹号。

Blog Route Go to the General Settings page of your WordPress Admin and set the 'Site address (URL)' field to "http://domain.com/blog"

错误日志中的相同消息:

DEBUG (7): Go to the General Settings page of your WordPress Admin and set the 'Site address (URL)' field to 'http://domain.com/blog'

我出错的任何线索?

2 个答案:

答案 0 :(得分:0)

您需要登录WordPress管理员,选择设置>常规并将标记为“站点地址(URL)”的字段设置为http://domain.com/blog

答案 1 :(得分:0)

在“集成”标签下,选择“否”' for'整合主题'。

我认为这是将我的magento主题与wordpress集成,但它实际上是整合现有的wordpress安装主题。

如果您的现有安装和新安装相同,则会导致错误:

"您的集成博客网址(http://www.yoursite/blog)与您的WordPress网站网址相匹配。"

所以你只需要将其设置为“否”'如果你只有一个wordpress安装。