Modify ↓
#5995 closed enhancement (fixed)
[Patch] The base URL should redirect to My Page.
Reported by: | Matt Caron | Owned by: | dgc |
---|---|---|---|
Priority: | normal | Component: | TracMyPagePlugin |
Severity: | normal | Keywords: | redirect |
Cc: | Trac Release: | 0.11 |
Description
When hitting the main page ("/" as far as the req object is concerned), the plugin should:
- If the user is logged in, redirect to My Page just as if you had gone to /me.
- If the user is not logged in, go on through to the main page.
Note that the main page is usually the Wiki, so is just serving the contents of /wiki, so you can still get there because it wouldn't match /wiki.
(I already have this implemented, I'm just testing it. Patch will be forthcoming and will be attached to this ticket).
Attachments (1)
Change History (7)
Changed 15 years ago by
Attachment: | homepage_redirect.patch added |
---|
comment:1 Changed 15 years ago by
You need to do:
[mypage] homepage_redirect = true
to make it work.
comment:2 Changed 15 years ago by
Summary: | The base URL should redirect to My Page. → [Patch] The base URL should redirect to My Page. |
---|
Looks useful.
comment:3 Changed 15 years ago by
exactly what I was looking for, will definitely test this one, thanks
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed 14 years ago by
Keywords: | redirect added |
---|
Note: See
TracTickets for help on using
tickets.
Patch to allow homepage redirection