# Staging Site on Flywheel Redirects to Local Site after Push

**URL:** <https://community.localwp.com/t/staging-site-on-flywheel-redirects-to-local-site-after-push/52052>\
**Category:** Support\
**Created:** [April 7, 2026, 6:58pm UTC](https://community.localwp.com/t/staging-site-on-flywheel-redirects-to-local-site-after-push/52052 "2026-04-07T18:58:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrothra](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/jrothra/32/25442_2.png) [@jrothra](https://community.localwp.com/u/jrothra)\
**Post date:** [April 7, 2026, 6:58pm UTC](https://community.localwp.com/t/staging-site-on-flywheel-redirects-to-local-site-after-push/52052/1 "2026-04-07T18:58:51Z")

</div>

### What issue or error are you experiencing?

After pushing my local site to the Flywheel staging site, the staging site redirects to the local site.

Note: I’m not tech saavy, so a highly technical answer won’t really help 🫤

* * *

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

Not sure how you all can replicate a problem with a local site since it’s, by definition, local. I tried a search for this in the forums, but what I found was years old or unanswered. What I tried:

- Change Router mode from “Site domains” to “local host.”
- Using WPvivid to move the site (it didn’t play nice with the staging URL).

* * *

### System Details

- **Local Version:** 10.0.0+6907

- **Operating System (OS) and OS version:** Windows 11 Pro, version 24H2

* * *

### Local Logs

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))

[local-logs.zip](https://community.localwp.com/uploads/short-url/fTTJNm5gkANcjNvtSQkBDrgkNuu.zip) (1.2 MB)

* * *

_ **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:** ![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:** [April 7, 2026, 7:53pm UTC](https://community.localwp.com/t/staging-site-on-flywheel-redirects-to-local-site-after-push/52052/2 "2026-04-07T19:53:14Z")

</div>

The easiest thing to start with is some cache flushing @jrothra!

Flywheel has a cache flush option in your Staging dashboard. If you click on the Staging tab it will be near the top.

 ![Screenshot 2026-04-07 at 2.51.17 PM](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/a/8/a832431df10485668b1d50d3fe510ff068105b68.png)

After that, you might check if you have any plugin/theme cache to clear. They have a guide with some common ones to check here: [The Flywheel guide to clearing your theme/plugin cache](https://getflywheel.com/wordpress-support/the-flywheel-guide-to-clearing-theme-cache/)

If you’re still having trouble, it might be that there is some mixed content which means some links that need to be cleaned up manually. If you’re not super tech savvy, there are plugins that can help with this like Better Search Replace.

> **[Better Search Replace](https://wordpress.org/plugins/better-search-replace/)**
>
> A simple plugin to update URLs or other text in a database.

Keep us posted if you run into any problems or have other questions!

---

<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:** [July 6, 2026, 7:53pm UTC](https://community.localwp.com/t/staging-site-on-flywheel-redirects-to-local-site-after-push/52052/3 "2026-07-06T19:53:39Z")

</div>

Closed on July 6, 2026, 7:53pm UTC

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