I am relatively a new user of R and it is my first post in StackOverflow, so please excuse me if I do not give the relevant information about my question :) My problem is basically about getting a "Page not found" error while publishing a website via Github. For the last couple of days, by using blogdown, I want to publish a personal website. I installed blogdown in my local R environment, designed a website, and then pushed the documents to the GitHub repository. In the GitHub settings section, it is written that my website is published, however when I try to enter the relevant website, I have always got the same problem - "page not found". I actually do not know the problem but you can find my repository in GitHub at https://github.com/muhammetozkaraca/muhammetozkaraca.github.io. The website address that I am trying to publish is https://muhammetozkaraca.github.io. Every kind of help is really appreciated. Thank you in beforehand.
You should separate the source repo from the website repo. Please see the blogdown book page at https://bookdown.org/yihui/blogdown/github-pages.html for more info. In short, the repo https://github.com/muhammetozkaraca/muhammetozkaraca.github.io should only contain the generated website, i.e., it should only contain files that currently live in the public/
directory. Currently, your muhammetozkaraca.github.io
repo contains both the source (root directory) and the generated website (the public/
directory).