Aliases cannot start with Dotclear's URL handlers [+ add a redirect option?] #1
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: JcDenis/alias#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hey,
I wanted to have a
/pages/foobar
alias for a/post/yyyy/mm/foo-bar-baz
url, but it seems that this plugin cannot create aliases that starts with existing URL handlers (likepost/
,pages/
,tag/
, etc.).This should probably either be fixed or explicited in the README :).
If it is fixed so that aliases are checked for before dispatching the URL to other handlers, it would be nice to also have the option to make aliases that redirect to their target URL.
With this feature, we could use this plugin for example to change the URL of a post and redirect the old one to the new one :).
(I would really appreciate to be able to do that, and never found a plugin to do so properly!)
Cheers!
I tried my best to do that. But this changes how the plugin works, it stops using dotclear URL handlers and bypass them by catching a behavior...
Not sure there are no bugs.