Timeline for Redirect when accessing /login when logged in
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 4, 2017 at 7:51 | comment | added | Tom | well i'm happy to try more attempts if you are ;) | |
Oct 3, 2017 at 20:48 | comment | added | Temani Afif | yes no problem ;) and you may consider manually input, it's not bad for a specfic solution, but since we are in site like this, it's better to highlight generic solution that may work for everyone, and maybe in one year someone will face the same issue and will find this page ;) | |
Oct 3, 2017 at 20:42 | comment | added | Tom | yeh i noticed your code is not reliant on manually inputting the page IDs. i have carried out some further testing & it seems the above code is holding out, and since i don't need to add many page IDs (and don't want to take up any more of your time) i'll keep it the way it is. many, many thanks for your efforts mate, they are much appreciated. i voted your comment up and it said "Thanks for the feedback! Votes cast by those with less than 15 reputation are recorded, but do not change the publicly displayed post score." so i will revisit this page when i have 15 rep and make sure it worked :) | |
Oct 3, 2017 at 20:26 | comment | added | Temani Afif | the only issue with this code is that it's not generic. as you need to specify the id of the page. You can also use is_page with my solution in order to check if we are in the logout page or not | |
Oct 3, 2017 at 19:09 | history | answered | Tom | CC BY-SA 3.0 |