From 28701b02deb0eaa00062406983be62265f3b479d Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~eliasson" Date: Sun, 31 Jan 2016 15:39:07 -0400 Subject: [PATCH] --- doc/bugs/Remove_redirect_pages_from_inline_pages.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.5