Jump to content

User Login Redirecting Issues


Recommended Posts

I watched a tutorial on how to make a user login and they get redirected to another part of the website and I did everything correctly except to the part where I had to write this code :
<script>
{
window.location = "My website link";
}
</script>

And each time I test it, it would literally print out the code. How do I fix this problem?

Link to comment
Share on other sites

The way the problem is going with me is that I did what you said, did not work, so now the login screen appears now but when I try to login or other users login it doesn't redirect them to the page that it needs to go. Instead, it stays there and it does nothing at all. I even made two authentications and it still doesn't work that way. Is it the script that's wrong maybe? I don't exactly know but I have been trying to fix this for the last 4 days and it seems to not work. Is there another option similar to this? Also I am using weebly sites to do this.

Link to comment
Share on other sites

  • 7 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...