# Javascript redirect

**URL:** <https://forum.kirupa.com/t/javascript-redirect/247255>\
**Category:** web dev\
**Created:** [December 20, 2007, 2:15am UTC](https://forum.kirupa.com/t/javascript-redirect/247255 "2007-12-20T02:15:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raithedavion](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/raithedavion/32/3427_2.png) [@raithedavion](https://forum.kirupa.com/u/raithedavion)\
**Post date:** [December 20, 2007, 2:15am UTC](https://forum.kirupa.com/t/javascript-redirect/247255/1 "2007-12-20T02:15:05Z")

</div>

I’m trying to use javascript to redirect to a network location.

So far I’ve tried window.location & window.open.

Here is an example of what I’m trying to do…

window.open("  
etworklocation" + variable)

Typically speaking it adds the URL to the end of the current path.

Any help would be appreciated.

Thanks,

Raithe Davion
