索引不起作用
Indexing is not working
只是想知道是否有人可以提供帮助。
我在 wordpress 中设置了 alogolia 插件并尝试索引内容。但是,只有一些数据被编入索引,我在 woocommerce 的索引页面上不断收到错误消息。
我收到以下错误:
wp_remote_post() failed, indexing won't work. Checkout the logs for more details.
URL 调用:https://www.latestbuy.com.au/wp-admin/admin-post.php
此外,当我尝试在网站上搜索时,我在控制台中收到以下错误
POST https://02ywvd0g5t-dsn.algolia.net/1/indexes/wp_terms_product_cat/query?x-a…plication-id=02YWVD0G5T&x-algolia-api-key=9bf593cf7f7dd2a8388ab640dd14a924 404 (Not Found)
Uncaught Error: Index wp_terms_product_cat does not exist(…)
我已经在两台不同的服务器和两台不同的主机上尝试过,但遇到了同样的问题。
有人遇到过这种情况吗?
谢谢。
维什
该插件确实需要您的 WordPress 实例才能通过 http 或 https 协议访问它自己。
这是必需的,以便我们避免达到最大内存限制或最大执行时间限制。
在您的情况下,您使用的是 SSL。
如果您的 ssl 证书无效或您的 openssl 库无法处理并且您的网站也可以通过 http 访问,您可以将以下行添加到您的 wp-config.php 文件中:
define( 'ALGOLIA_LOOPBACK_HTTP', true );
这将强制通过 http 而不是 https 进行环回调用。
如果这不能解决您的问题,请 post 'Logs' 页面上 wp_remote_post 错误的日志详细信息作为评论。
只是想知道是否有人可以提供帮助。
我在 wordpress 中设置了 alogolia 插件并尝试索引内容。但是,只有一些数据被编入索引,我在 woocommerce 的索引页面上不断收到错误消息。
我收到以下错误:
wp_remote_post() failed, indexing won't work. Checkout the logs for more details.
URL 调用:https://www.latestbuy.com.au/wp-admin/admin-post.php
此外,当我尝试在网站上搜索时,我在控制台中收到以下错误
POST https://02ywvd0g5t-dsn.algolia.net/1/indexes/wp_terms_product_cat/query?x-a…plication-id=02YWVD0G5T&x-algolia-api-key=9bf593cf7f7dd2a8388ab640dd14a924 404 (Not Found)
Uncaught Error: Index wp_terms_product_cat does not exist(…)
我已经在两台不同的服务器和两台不同的主机上尝试过,但遇到了同样的问题。
有人遇到过这种情况吗?
谢谢。
维什
该插件确实需要您的 WordPress 实例才能通过 http 或 https 协议访问它自己。
这是必需的,以便我们避免达到最大内存限制或最大执行时间限制。
在您的情况下,您使用的是 SSL。
如果您的 ssl 证书无效或您的 openssl 库无法处理并且您的网站也可以通过 http 访问,您可以将以下行添加到您的 wp-config.php 文件中:
define( 'ALGOLIA_LOOPBACK_HTTP', true );
这将强制通过 http 而不是 https 进行环回调用。
如果这不能解决您的问题,请 post 'Logs' 页面上 wp_remote_post 错误的日志详细信息作为评论。