Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sheel331

  1. sheel331

    parsing URL and redirecting based on folder names

    Yes I did eventually fix my issue. Basically what i did was in the for loop, put a case statement in based on the first subfolder(which is the first element in the array). I then redirected based on that. Thanks for the help you provided.
  2. sheel331

    parsing URL and redirecting based on folder names

    Well, on IPlanet, the server-side platform I am forced to use is HTML, and I am embedding javascript into that code. that is why I am posting on this forum. Thanks in advance, Sheel
  3. sheel331

    parsing URL and redirecting based on folder names

    Dan, I apologize for the confusion, but I am going to be doing this on the server, by coding this as a custom 404 page. The code above is what I have so far, and what I have in my head is that I would have an if loop that checks the folder name and redirect based on that. Thanks, Sheel
  4. sheel331

    parsing URL and redirecting based on folder names

    Well, actually I am planning to do it as a custom 404 page server-side. So say a user accesses a page as https://mywebpage.net/sheel, it would take that as a 404 page, and then parse that URL, then redirect based on the 'sheel' subfolder. It may not always be on the same level as well. It's...
  5. sheel331

    parsing URL and redirecting based on folder names

    Hello all, I am brand new to coding javascript, and I am trying to code a redirect page based on the folder name. I have an IPlanet web server, and have begun to code this page. So far I have been able to split the URL based on the slashes '/'. Here is what code I have so far: <HTML> <BODY>...

Part and Inventory Search

Back
Top