saltid/pimcore-seoserpbundle
Composer 安装命令:
composer require saltid/pimcore-seoserpbundle
包简介
SEO/SERP Bundle For Pimcore
README 文档
README
SEO/SERP Pimcore
Integration into Pimcore
Installation and Configuration
# COMPOSER_MEMORY_LIMIT=-1 composer -vvv require saltid/pimcore-seoserpbundle ~1.0@beta
Enable bundle via admin or cli after installation, since this bundle is required other bundle (Extension Manager) we need to enable it first
Via Admin Mode :
*Don't forget to clear cache and reload.
Via CLI :
# php bin/console pimcore:bundle:list
| Bundle | Enabled | Installed | Installable | Uninstallable | Updatable | Priority |
|---|---|---|---|---|---|---|
| PimcoreEcommerceFrameworkBundle | ❌ | ❌ | ❌ | ❌ | ❌ | 0 |
| ExtensionManagerBundle | ✔ | ✔ | ❌ | ❌ | ❌ | 10 |
| SeoSerpBundle | ❌ | ❌ | ❌ | ❌ | ❌ | 0 |
# php bin/console pimcore:bundle:install ExtensionManagerBundle # php bin/console pimcore:bundle:enable ExtensionManagerBundle # php bin/console pimcore:bundle:install SeoSerpBundle # php bin/console pimcore:bundle:enable SeoSerpBundle
Once you've done, you'll see new menu on admin mode
Available menu represented active bundle provide by SALT
Usage
Let's assume you have pimcore classes or object that has detail page and route generated by Pimcore Static Route.
Example :
*In this case (Object Article)
Open Pimcore Classes Editor, and in General Settings of your object add \SaltId\SeoSerpBundle\Traits\Seoable
Save and open object, there will be new tab of SEO.
You can custom title, description & meta tags each object, but in general you can setup the default by using existing field of your object and it will generate automatically.
Open SEO Rule config
Add Seo Rule
Set the default title, description, or meta tags
| Field | Description |
|---|---|
| Name | Name of SEO Rule, can be anything. |
| Route Name | Route Name of your Static Routes configuration. |
| Route Variable | Route Variable of your Static Routes configuration. |
| Class Name | Your class name or object you wanted |
| Class Field | Your class field as a getter it will be matching with route variables |
| Active | SEO Rule active status |
| Title | Website title <title></title>, you can use existing field of your object |
IMPORTANT Notes :
- Do not hardcoded html title tag
<title></title>in your layout use<?= $this->headTitle() ?>instead. - Do not hardcoded html meta tag that related with SEO in your layout use
<?= $this->headMeta() ?>instead.
Example output generated by SEO Rule (Default) :
Custom directly in object.
Example output generated by custom directly in object :
Meta tag description content by field description in Article object
Example output meta tag description generated by SEO Rule (Default) :
Lets change the description, save and published it.
Now refresh the detail page, meta tag description will be updated automatically.
saltid/pimcore-seoserpbundle 适用场景与选型建议
saltid/pimcore-seoserpbundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 436 次下载、GitHub Stars 达 0, 最近一次更新时间为 2020 年 01 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 saltid/pimcore-seoserpbundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 saltid/pimcore-seoserpbundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 436
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2020-01-14


















