# .local extension changed

**URL:** https://community.localwp.com/t/local-extension-changed/27353
**Category:** Support
**Created:** [August 23, 2021, 10:59pm UTC](https://community.localwp.com/t/local-extension-changed/27353 "2021-08-23T22:59:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![leanne](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@leanne](https://community.localwp.com/u/leanne)
#### Post date: [August 23, 2021, 10:59pm UTC](https://community.localwp.com/t/local-extension-changed/27353/1 "2021-08-23T22:59:42Z")

</div>

### Issue Summary

Hey,

At some point the file extensions for my sites changed from sitename.local to localhost:portnumber. The main issue with this is that when I try to log into a wp-admin panel from the site URL I am redirected to localhost/wp-admin, which breaks the site.

This happens with all my sites on Local. Only started recently, likely within the last couple days. Doesn’t seem to coincide with any updates. I updated to the most recent version of Local which also didn’t fix anything.

I can create a new plain WordPress site in Local, but I can’t acccess the wp-admin panel.

 ![Screen Shot 2021-08-23 at 4.47.00 PM](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/7/7246b7d316e5d8696ddada373a19f6220563e3f4.png)

* * *

 ![Screen Shot 2021-08-23 at 4.52.35 PM](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/f/f2023513868183e951420bed3d1f879d49f3b061.png)

MacOS Mohave 10.14.6, Local version 6.1.1+5468

Any help would be appreciated. Thanks!!

---

<div class="post-metadata">

### Author: ![leanne](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@leanne](https://community.localwp.com/u/leanne)
#### Post date: [August 24, 2021, 12:09am UTC](https://community.localwp.com/t/local-extension-changed/27353/2 "2021-08-24T00:09:20Z")

</div>

I just figured this out, kind of a silly mistake. I forgot that I had servers up and running on a MAMP install, which was occupying port:80, which is what Local uses to run the sitename.local router mode. This article: [https://localwp.com/help-docs/advanced/router-mode/](https://localwp.com/help-docs/advanced/router-mode/) was helpful in figuring it out. After you stop anything running on port 80 you can then force the router mode to change in Preferences \> Advanced.

---

<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 22, 2021, 12:09am UTC](https://community.localwp.com/t/local-extension-changed/27353/3 "2021-11-22T00:09:26Z")

</div>

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