Dotclear plugin - Create aliases of your blog's URLs
Find a file
2023-10-24 11:38:06 +02:00
locales upgrade to Dotclear 2.28 2023-10-15 12:07:19 +02:00
src code review 2023-10-24 11:38:06 +02:00
_define.php upgrade to Dotclear 2.28 2023-10-15 12:07:19 +02:00
CHANGELOG.md upgrade to Dotclear 2.28 2023-10-15 12:07:19 +02:00
dcstore.xml upgrade to Dotclear 2.28 2023-10-15 12:07:19 +02:00
icon.svg update icon 2023-05-13 22:57:35 +02:00
LICENSE update to dotclear 2.24 2022-11-27 14:51:46 +01:00
README.md upgrade to Dotclear 2.28 2023-10-15 12:07:19 +02:00

README

Release Date Dotclear Dotaddict License

ABOUT

alias is a plugin for the open-source web publishing software called Dotclear.

Create aliases of your blog's URLs.

REQUIREMENTS

  • Dotclear 2.28
  • PHP 8.1+
  • Dotclear admin permission for management

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.

RULES

  • 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, 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.

CONTRIBUTORS

  • Olivier Meunier (author)
  • Franck-paul
  • Jean-Christian Denis (latest)

You are welcome to contribute to this code.