Live site uses localhost as domain

Basically as the title states. I pulled down a site using Local, did some work, and after pushing none of the pages are functional because it is trying to find styles/scripts/images at “localhost/*” instead of the actual domain!

Help!

Fixed the issue.

When I started the site on Local, it said there was an issue with using the “*.local” domain and to click the “USE LOCALHOST” instead button to fix it. This issue arose because I had Laravel Valet running as well and this was causing conflict. So by stopping Valet and using the appropriate site domain “.local”, when I pushed this time it fixed the issue.

Can you make it more obvious that using Localhost when developing locally can cause routing issues when pushed? Because otherwise I would have had no idea. Thank you.

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