scrapbook
scrapbook copied to clipboard
404s on Username Changes
It seems that when you change the username in Airtable, you then need to rebuild the whole site to remove the 404.
https://scrapbook.hackclub.com/sampoder/ is 404ing :(((

https://scrapbook.hackclub.com/sampoder/?welcome=false is not interestingly
my theory is this is due to the pre-rendering, going to explore :D
Yeah, something about prerendering. I wonder if fetching the page in advance with URL parameters would help with this?
Facepalm
sadly my fix did not fix this
ahh so we made some progress: it now only 404s when you reset your profile to a username that would have been pre rendered. So for example changing my name from sampoder
-> sam
it works, but sam
to sampoder
doesn't
If I’m understanding you correctly, that sounds fine. We pre-render the most active users’ profile pages, which obviously includes you, so if you changed your username back to something pre-rendered, it won’t re-render. If it’s working if you change your username to something randomly new, that’s perfect
@sampoder since we're back into scrapbook- is this something that needs to be addressed?
Yes, this is still on the table for fixing