Aliyun Open Search is a hosting service for structured data searching. Supporting data structures, sorting and data processing freedom to customize. Aliyun Open Search provides a simple, low cost, stable and efficient search solution for your sites or applications.
This plugin make an integration of WordPress and Open Search in an easy way.
Download the latest release of this plugin (the file ends with .zip
).
Or you just search 'aliyun-wp-opensearch' from 'https://wordpress.org/plugins/' and get this plugin.
Open your WordPress admin dashboard:
- Open the
plugins
page; - Click the
Add New
button; - Click the
Upload Plugin
button; - Select the zip file you downloaded previous, and click the
Install Now
button; - Activate plugin (Just click the link named
activate
after installed success)
Otherwise:
If you can not install this plugin by the method, please firstly download the plugin zip source, and unzip the plugin zip to the {you website root directory}/wp-content/plugins/{your unziped directory}.Lastly, you should active the plugin you just installed handly. Enjoy!
- Open your WordPress admin dashboard.
- Find the menu
Plugins
-Installed Plugins
, click it, then make sure the plugin namedOpen Search
has been activated (Just click theActivate
link). - You can open the options page with
Settings
-AliYun Open Search Settings
link on left menu. - Find the button named
Download Template
, click it, you will download an file namedconfig.json
. - Fill in the blank named
Access Key ID
with yourAccess Key ID
inAccessKeys
. - Fill in the blank named
Access Key Secret
with yourAccess Key Secret
inAccessKeys
. - Fill in the blank named
Access Host
with yourAccess Host
in管理控制台>开放搜索>应用管理
. - Fill in the blank named
App Name
with yourApp Name
in管理控制台>开放搜索>应用管理
.
Note that, the default 管理控制台
does not show you 开放搜索
. You should add it by yourself. If you do not know this, please contact with aliyun customer services.
- Open the Open Search dashboard with link named
阿里云面板
, then click the link named模板管理
to create a template for your wordpress search application.- Click the button named
创建模板
; - Type in a
模板名称
such aswordpress_plugin
, then click the button named下一步
; - Click the button named
导入模板
, then upload the file namedconfig.json
that you downloaded in previous steps. - Click the
下一步
button; - Click the
创建
button on the bottom of page. - It means success after you saw the messages like
创建模板成功
. - Click the link named
返回模板列表
.
- Click the button named
- Click the link named
应用列表
on left menu to create an application.- Click the
创建应用
button; - Make a name for the
应用名称
field, and remember it, it will be useful in next steps. - Select a region, the same region is recommended when your WordPress deployed on AliYun ECS or ACE. It will make the API communication faster.
- Click the
下一步
button; - Select the template that you created previous (such as
wordpress_plugin
). - Click the
下一步
button on the bottom of page. - Click the
稍后手动上传
button, then copy the value of公网API域名
,内网API域名
is recommended when your WordPress deployed with the same region of search application.
- Click the
- Turn back to your wordpress dashboard and fill in the options form.
- When everything is ready, you should see a 'upload' button that is just for syncing with your posts to the Open Search server and click it.
- Have fun!