Article Management System ("AMS") Links Auto-Updater

Article Management System ("AMS") Links Auto-Updater 1.0.0 Beta

没有下载权限
XF 兼容性
  1. 2.2.x
摘要
Automatically update outdated article links with AMS Links Auto-Updater by @Bob. Ideal for managing SEO and reducing manual effort in updating URLs across your Article Management System (AMS) articles. Compatible with AMS version 2.2.31, logs all changes to the article's history, and supports full friendly URLs and Romanized titles.
This is a sub-add-on for Article Management System ("AMS") by @Bob. Without that add-on it won't do anything (and cannot be installed). It was tested with AMS version 2.2.31, so this is the minimum requirement (tough it may work with older versions as well, but you would have to edit the addon.json file).

The Problem with keeping article links up-to-date

You might have a big base of AMS articles and do a lot of cross-linking between articles. So, every time an article's title changes, links to that article get outdated (i.e. they still work, but with a 301 redirect). For best SEO results, you should update them. This can be a lot of work, when you you have to find and change dozens of links for each title change.

The solution: What "AMS Links Auto-Updater" does

This is a sub-add-on for AMS (it won't work without AMS). If you go to Admin CP -> AMS - Articles -> Find outdated article links (or directly to admin.php?nocte-ams-outdated-links/), you will find a list with all articles, that have outdated links. If you click on an article in the list, you will see a diff, that shows what changes would be made. You can then click on "Update outdated article links" to apply those changes to that article.

There is also a rebuild job, that updates all article at once. You find this also on Admin CP -> Tools -> Rebuild caches. It's called "AMS: Rebuild outdated article links".

For better traceability of changes, this add-on logs all changes to the article's change log ("History").

Screenshots

1. One article with title "TEST article" has outdated links:
image.webp



2. Here you see the "diff". These are the changes, that would be applied, if you auto-update that article's links. You see 3 links. The last one is o.k., the other two need to be updated:
image (1).webp



3. If you go to "update outdated article links", you will see this confirmation dialog:
image (2).webp



4. You can do the auto-update. In the end the article will not show anymore as having outdated links:
image (3).webp



Limitations
  • I am talking about "links," but basically this add-on searches for url's in the format https://www.yourdomain.com/ams/article-title.1/. It does not care about characters before or after the url and so it also updates plain text, that matches this "url" pattern, so it might be a good idea to check the diffs first. But I guess in 99% of use cases the script should work fine.
  • This add-on will only work when "Use full friendly URLs" and "Romanize titles in URLs" are on. Otherwise you get an error message.
  • If you use route filters: The add-on will not find links, that do not match the current route filter for ams/.
作者
axtona
浏览
370
扩展类型
zip
文件大小
16.8 KB
首次发布
上次更新
评分 0.00 星 0 个评分
链接失效了吗? 发送消息 给 NP 团队,我们会尽快为您处理!
支持开发者 如果您对测试满意或项目已成功盈利,可点击「更多信息」按钮,通过购买来支持开发者!

来自 axtona 的更多资源

 线程评级 A
主题评分插件为XenForo的主题添加了一个简洁易懂的星级评价系统
资产管理者 A
资产管理器为XenForo管理员提供了一种可视化和组织化的管理图片的方式
 登录防灌水管理员区域日志 A
简单的模块允许你从管理区域浏览Spaminator日志

相似的资源

Article Management System (AMS) Y
designed for forum owners to provide an interface for their members to add and publish Articles.
浏览
763
已更新
[NF] Article Management System Stencil A
[NF] Article Management System Stencil
浏览
981
已更新
[XenGenTr] External links routing system A
Thanks to the plugin, welcome external links that have been added to the forum with a redirect field
浏览
547
已更新
返回
顶部