L
laredotornado
Hi,
Curious if there is a javascript solution to this. I have a URL in
the form of
http://www.mydomain.com/user/zzz
which ultimately loads an index page with the contents
<html>
<script type="Text/javascript">
location.replace("login.php");
</script>
</html>
However, this redirects to the URL
http://www.mydomain.com/user/login.php and I want to redirect to the
URL
http://www.mydomain.com/user/zzz/login.php. How would I rewrite my JS
code to force the redirection I'm thinking of? Thanks, - Dave
Curious if there is a javascript solution to this. I have a URL in
the form of
http://www.mydomain.com/user/zzz
which ultimately loads an index page with the contents
<html>
<script type="Text/javascript">
location.replace("login.php");
</script>
</html>
However, this redirects to the URL
http://www.mydomain.com/user/login.php and I want to redirect to the
URL
http://www.mydomain.com/user/zzz/login.php. How would I rewrite my JS
code to force the redirection I'm thinking of? Thanks, - Dave