The page, and the archive of the page that you are looking for:
https://web.archive.org/web/20170205022656/https://pokemongo.gamepress.gg/experience-stats
https://pokemongo.gamepress.gg/experience-stats
In the old gym system, prestige was the only way to get XP that didn't end with 5 or 0. When the gym change was announced, people were encouraging anyone OCD to go out and prestige to (1) complete prestige medal, and (2) get your XP to end with a 5 or a 0.
Under the new gym system, you can get XP that ends with 1, 3, or 4 when you spin a gym pokestop that your team controls based on base, bronze, or silver medal at that gym. (Team control gives +25% XP, rounded to the nearest whole number.)
I think battling gyms also gives a range of XP, maybe based on the opponent's CP, but it is not listed on that page and I am not near a gym to test.