Closed jilladams closed 1 year ago
Hi @jilladams @davidconlon - we don't usually get involved in legacy content to legacy content redirects, only those that involve our modernized pages. You can move forward on this as you see fit.
Ah, didn't realize. Thanks Mikki!
PR: https://github.com/department-of-veterans-affairs/devops/pull/12277
Oops, wrong ticket. Disregard.
Learned stuff with Dave's help:
In cases where you are redirecting multiple pages considered more of a full website of pages, you will need to redirect at the server level. To accomplish this, you will need to engage the Web Operations team and have full authorization from the authorized owner of the website (e.g., VHA Digital Media). These considerations and steps are outlined below.
Thusly: have opened a ServiceNow ticket for WebOps help: https://yourit.va.gov/va?id=ticket&is_new_order=true&table=incident&sys_id=47f15a951bef555018da5316624bcbe1
(And: how to do that, if needed in future)
Unassigning / removed from sprint, since this became a VA admin thing and not a PW code thing.
We've opened a SNOW ticket with WebOps: https://yourit.va.gov/va?id=ticket&is_new_order=true&table=incident&sys_id=47f15a951bef555018da5316624bcbe1
Updates:
1, I apparently didn't understand how to send a SNOW ticket to WebOps and have been asked to reassign it to WebOps. Figuring that out.
2, Meanwhile: Ryan and I re-reviewed the info around client side redirects. Some takeaways:
Client-side redirect is only possible if the proxy-rewrite JS is being executed on the relevant subdomain. In the case of vetcenter.va.gov
, this subdomain has been added to support the injected header (here via what looks like a proactive effort to get our header on high priority subdomains). The header is in testing mode, visible on vetcenter.va.gov only when cookie is enabled.
This means:
@ryguyk could you update points here for your best guess, assuming we go the client-side redirect route? (Including testing, and debugging if it doesn't initially work, which seems possible.)
Merged, leaving open to get verified in prod after deploy.
Sad news, friends @jtmst @ryguyk : This redirect isn't working.
Verified that code is live in prod:
https://www.vetcenter.va.gov/Vet_Centers_are_Here_For_You_24_7.asp still lands / does not forward to the new URL.
Moving ticket back to Stretch, and we'll need to work out new approach. I'm gonna start by trying to figure out how to properly request something from WebOps via ServiceNow.
Found a portal to make requests direct to WebOps instead of through ServiceNow: https://vaww.webops.va.gov/info/?get=catalog
Filed a redirect request there today. Will see what sort of response we get -- guessing prob not much in this holiday week, but tbd. Have also closed loop with stakeholder who made this request, and is 2ndary contact on the WebOps ticket.
Not sure if it's worth doing much more on our side here until we hear from them.
Note: I can't find any artifact of the WebOps ticket. 🤷♀️ Didn't receive an email, and the WebOps ticketing UI did confirm successful submission, but I'm not finding any way to see my open issues. So: unclear if/when we may get traction on that.
No news from WebOps ticket.
New attempt:
Following steps from https://vaww.webops.va.gov/apps/kbx/kbarticle.cfm?get=2018-CST-0416041924, filed a new YourIT ticket to WebOps:
The plot thickens: WebOps responded to our ticket:
WebOps only create site level redirects. Page level redirects are the site editor's responsibility. This is a TeamSite website and is supported by VA Web CMS Support VAWebCMSSupport@va.gov. Transferring to Sandeep Kotian/VA Web Solutions support for assistance.
The issue was reassigned to Sandeep, our TeamSite friend. Sandeep then referenced an index of site editors and asked Jenny Heiland-Luedtke. Deputy Director of VHA Digital Media, if someone within her group could manage this redirect, which they cannot.
Per discussion with Jenny:
After auditing existing docs, I don't find any indication that the PW team can directly implement a page-level redirect between 2 subdomain URLs. (In this case: both to/from are on the vetcenter.va.gov subdomain, powered by TeamSite, that does run our proxy-rewrite js but does not currently display the injected header.) These docs seem to indicate that: 1) page level redirects from a subdomain to va.gov must be done client side, if at all; 2) page level redirects within a subdomain weren't really considered or documented 3) there was some work remaining identified, to better understand how server-side redirects might be achieved for subdomains, which might solve this use case as well.
I'd feel better about that assessment if someone with a better working knowledge of reverse proxies and TICs reviewed docs #1 and #2 here to see if they agree.
And if so: my suggestion would be for me to email Sandeep Kotian, Brad Smelley, and Jenny H-L on the existing email thread with Tiffany Lever / Dave / @wesrowe to figure out how TeamSite folks can / can't help us.
va.gov-team-sensitive/teams/vsa/teams/public-websites/redirects.md
July 2021
Describes 3 types of redirect:
va.gov-team/platform/engineering/redirect-implementation-strategy.md
Dec 2022 update from me; prior update = Jan 2020
4 types of redirects: 1) Server-side redirects within www.va.gov (link) 2) Client-side redirects within www.va.gov (link) 3) Server-side redirects from subdomains (subdomain.va.gov) (link) — used for full-site redirects 4) Client-side redirects for subdomains (subdomain.va.gov) (link) — used for page-level redirects. This is the same as 3b above, redirect via vets-website/src/applications/proxy-rewrite/redirects/crossDomainRedirects.json, which we tried and does not work for the redirect request in this ticket.
va.gov-team/vsp/teams/tools/frontend/redirects-strategy.md
Feb 2019
Doc #2, Redirect Implementation Strategy, specifically notes that it replaces this doc.
va.gov-team/platform/information-architecture/request-redirect.md
April 2022
IA doc specific to requesting a redirect & vetting it.
/va.gov-team/products/public-websites/content-team-processes/URL-redirect-process
June 2020
Mostly an outdated workflow doc for an old PW team, that is replaced by doc #4 above, and should be updated or removed.
/va.gov-team/products/public-websites/client-side-redirects
Jan 2020
Stub doc with no details, should be deleted.
va.gov-team/platform/engineering/infrastructure/reverse_proxy.md
@apisandipas @ryguyk FYI: Latest change in PR #23065 is merged / deployed, and redirect is still not working. Not urgent, as Dave has asked us to timebox this since it has sprawled. Maybe next week at onsite we can briefly chat at some point about how redirects and regroup.
S76 sprint planning: the work to date has not successfully implemented a subdomain > subdomain redirect.
Per conversation with DaveC: we aren't able to spend more time on this right now. Low priority for this path, so we will not continue work here. We'll discuss next steps at the higher level subdomain > subdomain redirect level with DaveC and I'll close loop with the original requester, Tiffany, after that talk. Closing ticket.
BLOCKED on WebOps: for subdomain > subdomain redirect, our attempted code change did not work. We will need WebOps to perform this redirect. WebOps ticket opened, TBD response.
Type of request
Context
From Tiffany Lever via email to DaveC:
Implementation date
When does this request need to be live:
no hard timingASAP since fix for incorrect link in the wildRedirects
FE Implementation notes
This will need to be done via client side redirect.
Process, Roles and Responsibilities