Sage10 redirecting localhost:3000 to proxy origin url when changing page on yarn dev

Hi there.

I am having a problem with sage10 redirecting http://localhost:3000 to the baseurl of the site.
if I am running yarn dev and the browser window shows http://localhost:3000 as the url, everything works fine here. However, if I want to change the page by typing the page slug in addition to the url the browser redirects me to the devurl instead of localhost url. For example, the url was first http://localhost:3000 and i added /shop to the url, so the new browser url is http://localhost:3000/shop . Now when i hit return, the browser redirects me to http://examplesite.devel/shop instead of the http://localhost:3000/shop.

The problem is not post type -related or page-related. Also it is not browser-related as I have replicated the problem with Chrome, Firefox and Safari.

The same problem did not occur with sage9 themes. The problem doesn’t also occur if I am running http://localhost:3000 using yarn dev and I change the page by clicking a menu item on the site or a link on the site. Is the problem yarn-related or sage10-related, anyone else experiencing this and what might be the best place to start looking for the solution?

I have the same issue. But have no clue how to solve it.
In the network tab in chrome dev, it does say that the redirect is done by wordpress. Hopefully someone here can help :slight_smile:

Hey y’all - let’s use an existing topic about this to track any discussion related to this issue: