I have a website/blog that had been working well for years. My site is: https://rileyking.netlify.app. I have not made ANY changes to it recently - my last deploy was Dec 2, 2022. On or around July 2024 I noticed that the site no longer displayed well and all the links were broken. Other details that may or may not be relevant: all code for the site is written in R using Rmarkdown and the blogdown package publishes it using (as I understand it) Hugo. I updated typically by updating a repo on Github, and then Netlify would automatically publish the site with a new deploy. But I haven’t made ANY changes in Github or in Netlify since successfully deploying back in Dec 2022. When I log in to Netlify is still shows as successfully deployed and the thumbnail looks like the correct deplyment. I’ve attached a screen shot showing what it looked like in Feb 2024 which is the last capture in WBM (it still looks to be correctly deployed in Feb 2024, but I first noticed the problem in July 2024). Could you please help me to get it back online functioning and displaying correctly? I will pay for additional support if needed. Please note it is not just the appearance that has changed: the links beyond the front page no longer work.
Thank you for identifying the problem and the solution It makes sense what to do, but could you possibly help possible to get help with how? I know I am exposing myself as a complete novice here, but I don’t know how (or even where) I would edit the url’s of all my links. I was relying on a package to convert my markdown files that I uploaded to github into webpages using a package (blogdown). It did all the backend stuff for me and all I had to do in netlify was connect to that repo and it knew how to build out the site. I asked chatgpt for advice on how to update all the url links on a site deployed on Netlify, but it is not being very helpful.
I know this is a pain but would it be possible to provide the how like you were explaining to a 5 year old? LIke:
Step 1: go to ** this interface ** and change the link there from .com to .app
Step 2: go to ** place 2 ** and update it again
Step 3-X: repeat for all other instances
Or if there is a single top level link/url that could be updated w/o updating all the sublinks (wasn’t obvious from the above answer if the choice was either/or) then that would be great. I need the easiest solution.
I figured out how and will post it here in case others encounter the same problem in the future. For anyone using Blogdown package with Hugo and Netlify, the code in github doesn’t reference the url’s for the pages of the site. There is only one thing that links the repo to the baseurl: the config.toml file which contains the base url. Updating that one instance from .com to .app using the code editor on github and pushing the commit will update all the pages and links appropriately. Things are now back to normal.
Excellent, I was going to suggest you probably want to change a ‘base url’ somewhere, but every system is different so it’s impossible to guess how things may work.
It also wasn’t clear from your description if your site was actually set up to ‘run a build on Netlify’ or if you were deploying prebuilt pages.