diff options
author | https://launchpad.net/~eliasson <eliasson@web> | 2016-01-31 15:39:07 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2016-01-31 15:39:07 -0400 |
commit | 28701b02deb0eaa00062406983be62265f3b479d (patch) | |
tree | 201da91a63441e3dba85901ed5a933dde26a3c86 | |
parent | 1581c495f0982b0dc00da9a1323b8c2b6d78fe2d (diff) | |
download | ikiwiki-28701b02deb0eaa00062406983be62265f3b479d.tar ikiwiki-28701b02deb0eaa00062406983be62265f3b479d.tar.gz |
-rw-r--r-- | doc/bugs/Remove_redirect_pages_from_inline_pages.mdwn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/bugs/Remove_redirect_pages_from_inline_pages.mdwn b/doc/bugs/Remove_redirect_pages_from_inline_pages.mdwn index a43bd408f..a9067e049 100644 --- a/doc/bugs/Remove_redirect_pages_from_inline_pages.mdwn +++ b/doc/bugs/Remove_redirect_pages_from_inline_pages.mdwn @@ -13,3 +13,9 @@ Any ideas how to handle this situation? > Well, you can adjust the inline's pagespec to exclude it, or even tag it > with a tag that the pagespec is adjusted to exclude. --[[Joey]] + +>> I did it by making a new tag called "redir", tagging the redir page with it and then modifying the *pages* attribute of my inline to exclude pages with that tag. However, there is the same problem with the archives, probably the [[plugins/calendar]] if you use that and likely some other cases that I haven't thought about. In all these places you need to explicitly exclude redir pages. I think that ideally redir pages should have some special treatment that excludes them by default in most situations, because they are not real pages in a sense. They can have a body but if the browser is working properly it will never be shown. +>> +>> How about adding a new PageSpec called redir(glob) and excluding such pages from the post(glob) PageSpec? I think this behaviour makes more sense and thus should be the default, but if a user wants the old behaviour that's still available as "page(glob) or redir(glob)". +>> +>> Good URL redirections are important because they allow you to move things around without breaking incoming links from external sites and people's browsing history (which you can't fix, unlike internal links). --[[anton]], 2016-01-31 |