# Wix-Location-Frontend.to()

**URL:** <https://forum.wixstudio.com/t/wix-location-frontend-to/68229>\
**Category:** Ask the community\
**Tags:** question, wix-studio, code\
**Created:** [January 31, 2025, 5:10pm UTC](https://forum.wixstudio.com/t/wix-location-frontend-to/68229 "2025-01-31T17:10:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Washington](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/kevin_washington/32/87281_2.png) [@Kevin\_Washington](https://forum.wixstudio.com/u/Kevin_Washington)\
**Post date:** [January 31, 2025, 5:10pm UTC](https://forum.wixstudio.com/t/wix-location-frontend-to/68229/1 "2025-01-31T17:10:13Z")

</div>

Is there a way to open a link as a NEW Window using the Wix-Location-Frontend.to()

---

<div class="post-metadata">

**Author:** ![DeanAyalon](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/deanayalon/32/94633_2.png) [@DeanAyalon](https://forum.wixstudio.com/u/DeanAyalon)\
**Post date:** [February 1, 2025, 8:45am UTC](https://forum.wixstudio.com/t/wix-location-frontend-to/68229/2 "2025-02-01T08:45:11Z")

</div>

wixLocation.to only opens links in the same window, as browsers do not trust JS code that opens windows by itself
