Page not found error on home page

What issue or error are you experiencing?

facing an error on my wordpress website as below

Hi @laxmi -

Have you set the home page in the settings of your site?

Sam

yes, i did @sambrockway

Hi @laxmi

Was this a site that you imported or created in Local?

Have you tried resaving permalinks?

Are there any errors in the dev console?

hi @Nick-B,
it is created in local.
yes, all the permalinks are saved.
is this the error u were talking about?

Could you provide some more details to help us take a further look?

  • What is your OS?

  • What version of Local are you on?

  • Please attach a copy of your Local Logs

Keep us posted and we’d be happy to help further!

hello @Nick-B, here is the info you asked for
windows 11
Version 9.0.3+6684
error.log (94.2 KB)

If you create a new, blank site in Local can you access that okay? If you can, then you may want to try reimporting the site getting the errors. The steps would look like this:

  • Locate the site files on your machine, and save a copy of them to your desktop. If you click Go to Site Folder under your site name it should take you right to where they are located.
  • Once you have those copied, completely delete the site from Local
  • Restart Local/your machine
  • Reimport the site back into Local. You can refer here on how to Restore from only Local site files

@Nick-B
No,am not facing the same issue with other sites.
I have tried doing the process you mentioned but it still shows me the same error

Some other potential issues here could be a plugin or theme conflict.

If you use the Open Site Shell function you can run a command like this:

wp plugin deactivate --all

That will deactivate all plugins at once to see if there is a conflict there.

If the plugins aren’t the issue you can go to the Apperance section of your WordPress dashboard and activate a different theme to see if that resolves the issue. If it does then there might be some issues with your custom theme.