Hi, is there a way in Javascript that we can read the URL that user entered?
This is so, that we can see if the url contains a subdomain other than www. and if it does, then I would like the option to redirect the user to another link.
the most common subdomain will be forum (forum.mydomain.com) - I guess the search we want to peform is for it to search from http:// and to then grab the word before a period (.)
Thanks for your help
This is so, that we can see if the url contains a subdomain other than www. and if it does, then I would like the option to redirect the user to another link.
the most common subdomain will be forum (forum.mydomain.com) - I guess the search we want to peform is for it to search from http:// and to then grab the word before a period (.)
Thanks for your help