concrete5-community/url_aliases
Composer 安装命令:
composer require concrete5-community/url_aliases
包简介
A ConcreteCMS package to create alias URLs of pages, files and external URLs
README 文档
README
URL Aliases
This repository contains the URL Aliases package for ConcreteCMS.
Installation Methods
- To support the author, you can install URL Aliases on recent versions of ConcreteCMS through the ConcreteCMS Marketplace - see https://market.concretecms.com/products/url-aliases/e1683d19-8b4c-11f0-b970-0affd5227f07
- For composer-based Concrete instances, simply run
composer require concrete5-community/url_aliases
- Manual installation:
- download a
url_aliases-v….zipfile from the releases page - extract the zip file in your
packagesdirectory
- download a
Then, you have to login in your Concrete website, go to the Dashboard > Extend Concrete > Add Functionality, and install the package.
Introduction
The URL Aliases package is a powerful tool designed to enhance URL management within your ConcreteCMS website. It provides a simple yet effective way to create clean, human-readable URLs that act as aliases for your existing content, including pages, files, and external URLs.
Instead of being stuck with the default URLs generated by the CMS, you gain full control over the addresses your users see. This is especially useful for creating short, memorable links for marketing campaigns or simply making your content easier to navigate.
Key Features
- Create URL Aliases for Pages: Map a custom URL to any page on your site, regardless of its original path.
- Alias Files: Provide user-friendly URLs for files, such as PDFs or images, which normally have long, complex paths.
- Redirect to External URLs: Use your own domain to create short aliases that redirect to other websites. This is perfect for linking to social media profiles, partners' sites, or specific product pages.
- Flexible and Customizable: Easily manage, edit, and delete all your URL aliases from a single, intuitive interface within the ConcreteCMS dashboard.
- Redirect by Browser Language: You can define an alias that points to page A for English, to page B for German, and to page C for any other language.
- Log of requests that result in 404 - Not Found errors, even after the defined URL Aliases have been checked.
- Create URL Aliases from Additional Page Paths: keep all your aliases in just one central place (URL Aliases).
Why You'll Love It
- Enhanced User Experience: Clear and simple URLs are easier for users to remember and share, leading to better navigation and a more professional feel.
- Marketing and Analytics: Create short, targeted URLs for specific campaigns, which can be easily tracked and analyzed for performance.
- Complete Control: Break free from the CMS's predetermined URL paths and create addresses that best serve your content and your audience.
- Hit Count: See how many times an alias is being visited (including the date/time of the last visit)
- Test Interface: You can easily test if an alias works as expected (also with browser languages that differ from your default one)
- Support for Fragment Identifiers: When the alias target is a page, you can specify the exact point where the browser should land (for example,
/target#point-in-page) - Sopport for POST Forwarding: When the users send POST requests to the alias, you can configure the package to forward that data via POST
How It Works
This package intercepts requests that result in a 404 – Not Found response.
When such a request is detected, it checks whether the requested path (and optionally the parameters received via the query string) matches a defined URL alias.
If a matching alias is found, the package rebuilds the response and issues a redirect to the alias destination.
This approach ensures there are no conflicts with existing pages (no surprises!) and optimizes speed (no alias searches when not needed).
Usage
Browse to the System & Settings > URL Aliases dashboard page.
There you can manage all the URL aliases.
Requirements and Limits
- Minimum PHP version: 7.3
- Aliases do not automatically resolve child pages. For example:
- you have a page at path
/about - you have a page at path
/about/me - you create an alias named
/aliasthat points to/about /aliaswould resolve to/about- but
/alias/mewon't resolve to/about/me
- you have a page at path
- Forwarding files via POST is not supported: the package will only forward normal fields received via POST
Do you really want to say thank you?
You can offer me a monthly coffee or a one-time coffee 😉
concrete5-community/url_aliases 适用场景与选型建议
concrete5-community/url_aliases 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 10 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 09 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「package」 「page」 「file」 「cms」 「url」 「addon」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 concrete5-community/url_aliases 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 concrete5-community/url_aliases 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 concrete5-community/url_aliases 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table.
Plug-ins for DataTables
The file manager intended for using Laravel with CKEditor / TinyMCE / Colorbox
This package helps you use bitwise enums in PHP and Laravel.
Laravel Media Popup to upload/view the files
PMVC Plugin for File information
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 25
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-09-06