USGS-WiM / sparrow-eastern-us-js

Eastern United States NHD model
Other
2 stars 0 forks source link

Redirect sparrow bucket landing page to NAWQA #73

Closed esmyers closed 3 years ago

esmyers commented 3 years ago

We currently have a landing page at sparrow.wim.usgs.gov/index.html. This page should resolve to https://water.usgs.gov/nawqa/sparrow/

Note that this change ONLY applies to sparrow.wim.usgs.gov/index.html. We need to keep the application folders such as https://sparrow.wim.usgs.gov/sparrow-midwest-2012/ and any redirects on those folders as they are currently.

ChadFanguy-usgs commented 3 years ago

@esmyers is the index.html page at sparrow.wim.usgs.gov/index.html still needed? Or could we update that page to redirect to the site at https://water.usgs.gov/nawqa/sparrow/ ?

The URL is pointing to IIS on Toad so we have other methods if that index page is still wanted.

esmyers commented 3 years ago

Hey @ChadFanguy-usgs, I don't need any of the existing content on the index.html landing page. My intention is to just set the redirect on the index.html page at the bucket root.

The reasoning is that users typically go to their respective apps with the proper folder name (i.e. https://sparrow.wim.usgs.gov/sparrow-midwest-2012/). But in the event that someone forgets to type in a folder name for a specific application and ends up at the bucket root, I'd like them routed to the NAWQA site.

aaronstephenson commented 3 years ago

@esmyers that's a good idea. Tho instead of setting the redirect in any of the bucket properties, just alter the index.html file itself to perform the redirect. Just less for us to remember/manage. :)

esmyers commented 3 years ago

Sounds good. I'll just handle it via html redirect. Thanks!