Site URL, localhost: port

What issue or error are you experiencing?

Hello Local Community, I’m encountering a problem when I go to open the site the tab is opened under localhost: port. I would simply like to know how I can open my site under the sitename.local. I opened the site shell and put in the command “wp option get siteurl” and it said http://localhost10010. How can I change the URL to the .local URL?


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


System Details

  • Local Version:

  • Operating System (OS) and OS version:
    Windows


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)


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.

Hi @itserika18

You can do this by changing your Router Mode to Site Domains! Preferences>Advanced>Router Mode>Site Domains.

More details about the difference in these features here:

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