2022-11-27 13:51:46 +00:00
|
|
|
# README
|
|
|
|
|
|
|
|
[![Release](https://img.shields.io/github/v/release/JcDenis/alias)](https://github.com/JcDenis/alias/releases)
|
|
|
|
[![Date](https://img.shields.io/github/release-date/JcDenis/alias)](https://github.com/JcDenis/alias/releases)
|
|
|
|
[![Issues](https://img.shields.io/github/issues/JcDenis/alias)](https://github.com/JcDenis/alias/issues)
|
2023-07-30 06:57:58 +00:00
|
|
|
[![Dotclear](https://img.shields.io/badge/dotclear-v2.27-blue.svg)](https://fr.dotclear.org/download)
|
2022-11-27 13:51:46 +00:00
|
|
|
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/alias)
|
|
|
|
[![License](https://img.shields.io/github/license/JcDenis/alias)](https://github.com/JcDenis/alias/blob/master/LICENSE)
|
|
|
|
|
|
|
|
## WHAT IS ALIAS ?
|
|
|
|
|
|
|
|
_alias_ is a plugin for the open-source
|
|
|
|
web publishing software called Dotclear.
|
|
|
|
|
|
|
|
This plugin creates public aliases of your blog's URLs.
|
|
|
|
|
|
|
|
## REQUIREMENTS
|
|
|
|
|
|
|
|
_alias_ requires:
|
|
|
|
|
2023-07-30 06:57:58 +00:00
|
|
|
* admin permissions for management
|
|
|
|
* Dotclear 2.27
|
|
|
|
* PHP 7.4+
|
2022-11-27 13:51:46 +00:00
|
|
|
|
|
|
|
## USAGE
|
|
|
|
|
|
|
|
First install _alias_, manualy from a zip package or from
|
|
|
|
Dotaddict repository. (See Dotclear's documentation to know how do this)
|
|
|
|
|
|
|
|
You can manage your aliases from menu ''Alias'' on admin dashboard sidebar.
|
|
|
|
|
2023-04-30 23:15:19 +00:00
|
|
|
## RULES
|
|
|
|
|
2023-04-30 23:22:24 +00:00
|
|
|
- Only blog URLs can be redirected.
|
|
|
|
- It can redirect a specific URL "plop" to another one "post/2023/04/24/my-post".
|
|
|
|
- It can redirect all URLs that content "plop" using alias "/plop/"
|
|
|
|
by replacing it by destination "post" into requesting URL. (Even if it's not at the begining of the URL!)
|
|
|
|
- It can not redirect an alias to another alias.
|
|
|
|
- It has priority on all ohters URLs handlers, so if you create an alias of an existing page,
|
2023-04-30 23:15:19 +00:00
|
|
|
the destination from plugin _alias_ will be used.
|
|
|
|
|
|
|
|
Keep in mind, plugin _alias_ loads all registered aliases to test them on each page load,
|
|
|
|
so more there are aliases, more page load is slow.
|
|
|
|
|
2022-11-27 13:51:46 +00:00
|
|
|
## LINKS
|
|
|
|
|
|
|
|
* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
|
2023-08-06 15:28:57 +00:00
|
|
|
* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/alias) or [GitHub Page](https://github.com/JcDenis/alias)
|
|
|
|
* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/alias/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/alias)
|
2022-11-27 13:51:46 +00:00
|
|
|
|
|
|
|
## CONTRIBUTORS
|
|
|
|
|
|
|
|
* Olivier Meunier
|
|
|
|
* Franck-paul
|
|
|
|
* Jean-Christian Denis
|
|
|
|
|
2023-04-30 23:22:24 +00:00
|
|
|
You are welcome to contribute to this code.
|