Isn't that the 'and' operator? Seems like that would redirect me if they didn't come from all of the sites (which probably won't happen).
At this point, using either && or || results in the user being redirected to index.html everytime (no matter where the came from).
Please accept my apologies, but I am new to Javascript.
I have a page where I need to redirect anyone who does not come from a specific set of pages. It was working until I started adding multiple pages and using the 'or' statement. Can anyone tell me what is wrong with the syntax here...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.