承接 heimrichhannot/contao-news-relocate-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

heimrichhannot/contao-news-relocate-bundle

最新稳定版本:0.1.0

Composer 安装命令:

composer require heimrichhannot/contao-news-relocate-bundle

包简介

Allow relocating a news article

README 文档

README

This contao extension allows to relocate news articles, e.g. set a replacement article and force a redirect or pagerank transmission.

Install

Install with contao manager or with composer:

composer require heimrichhannot/contao-news-relocate-bundle

Update the database.

Usage

Go to the news article you want to relocate, select the relocate type and provide the relocate url.

Relocate Type Description
deindex The article will not be available anymore and calling the url will redirect to the provided relocate url.
The article will not be indexed by the search indexer and will be removed from the sitemap. The pagerank of the article get lost.
redirect The article is still available, but it's canonical url is set to the relocate url, this should transfer the pagerank to the relocate url.

Developers

Following events are available:

Name Description
GenerateArticleUrlEvent Dispatched before the article url is searched in the sitemap url list to be removed. Allows modify the url.

Footnote

Relocated news are currently not removed from news lists as the hooks to do such things are very limited. You can filter them in your count and fetch items hook by adding "tl_news.relocate = 'none'" to the model columns array.

统计信息

  • 总下载量: 34
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 6
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2024-05-29