# 404 error on site that was working

**URL:** https://community.localwp.com/t/404-error-on-site-that-was-working/39945
**Category:** Archived Support
**Created:** [November 12, 2023, 8:36pm UTC](https://community.localwp.com/t/404-error-on-site-that-was-working/39945 "2023-11-12T20:36:41Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![jctech](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@jctech](https://community.localwp.com/u/jctech)
#### Post date: [November 12, 2023, 8:36pm UTC](https://community.localwp.com/t/404-error-on-site-that-was-working/39945/1 "2023-11-12T20:36:41Z")

</div>

### What issue or error are you experiencing?

I had a site on local that was working fine a couple weeks ago. Since then I added a new site on local as I was working on a new design. I went back to the first site and I’m getting a 404 site not found error. he second site is still working. Not sure why adding a Second Sight cause the first sight to stop working? I’m looking at the local router logs but not sure I understand them. I do see a message at the top of local that says the site’s WordPress URL settings do not match the host set in local. I tried the Fix-It button but nothing changed.

* * *

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

## I have restarted local. I updated local this morning. I also restarted my machine.

### System Details

- **Local Version:** 8.1

- **Operating System (OS) and OS version:** Windows 11

* * *

### Local Logs

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))  
[error.log](https://community.localwp.com/uploads/short-url/6xU6NmyJZ652ouDuNLLIPc8HEeO.log) (23.3 KB)

* * *

_ **Security Reminder** _  
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

---

<div class="post-metadata">

### Author: ![jctech](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@jctech](https://community.localwp.com/u/jctech)
#### Post date: [November 12, 2023, 8:39pm UTC](https://community.localwp.com/t/404-error-on-site-that-was-working/39945/2 "2023-11-12T20:39:10Z")

</div>

note:  
wdcga.local is the one not working  
wdcga24.local is working

---

<div class="post-metadata">

### Author: ![jctech](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@jctech](https://community.localwp.com/u/jctech)
#### Post date: [November 12, 2023, 8:48pm UTC](https://community.localwp.com/t/404-error-on-site-that-was-working/39945/3 "2023-11-12T20:48:36Z")

</div>

this is the error.log file from Local/wdcga/logs/php  
[php.error.log](https://community.localwp.com/uploads/short-url/cpSoyAzBGSnlBikIanH1IWhzp7A.log) (2.2 KB)

---

<div class="post-metadata">

### Author: ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)
#### Post date: [November 14, 2023, 4:03pm UTC](https://community.localwp.com/t/404-error-on-site-that-was-working/39945/4 "2023-11-14T16:03:29Z")

</div>

Hey @jctech,

It’s hard to say exactly what’s going on. Can provide the Local Logs? You can get a zip of those logs by clicking the “Download Local Log” button from the “Support” tab of Local. See this help doc for more info about that button:

- [Retrieve Local’s Log File - Local](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/#download-local-logs)

Another thing you might try to get the original site working again is to zip it up and re-import it as a new site. This help doc outlines manually creating a zip of the site:

> **[Import/Export a WordPress Site](https://localwp.com/help-docs/getting-started/how-to-import-a-wordpress-site-into-local/#Manually-Import-a-Local-site)**
>
> This help document will walk you through how to import and export a site to and from Local. It will also go over how to restore from only Local site files. Table of Contents: Local is pretty flexible…

---

<div class="post-metadata">

### Author: ![jctech](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@jctech](https://community.localwp.com/u/jctech)
#### Post date: [November 15, 2023, 1:59pm UTC](https://community.localwp.com/t/404-error-on-site-that-was-working/39945/5 "2023-11-15T13:59:08Z")

</div>

Thanks so much for your replay. I ended up setting up a new site again and importing a backup as I didn’t have any code i was working on. That worked - local certainly makes it easy.

---

<div class="post-metadata">

### Author: ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)
#### Post date: [November 15, 2023, 2:18pm UTC](https://community.localwp.com/t/404-error-on-site-that-was-working/39945/6 "2023-11-15T14:18:43Z")

</div>

Glad to hear that got things fixed up for you @jctech!

---

<div class="post-metadata">

### Author: ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)
#### Post date: [November 17, 2023, 2:19am UTC](https://community.localwp.com/t/404-error-on-site-that-was-working/39945/7 "2023-11-17T02:19:17Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
