-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes to Policy and Guidance search before transitioning to sitemaps for global search #5595
Comments
@patphongs I think it would be better to copy the pages to be under the new parent page and set it as a page alias, then any update to the original will be updated. Then we do not have to worry about redirects and losing track of pages in /updates. |
Excellent find @johnnyporkchops! I just tested this out in the dev environment for one of the pages and it works out great! One question I do have though is if the search.gov will be able to see that there's an update on the alias page? Do they just crawl through our guidance search directory and check for changes between the pages? |
@patphongs Yes, I think that is how it works. I'll add that to a second round of questions for search.gov support (Amani). I assume currently content team would update the |
@johnnyporkchops Here is what we do: Updating the Site Maps When we upload a new file or publish a replacement PDF file, you will need to update the PDF site map in both places. When we add a new HTML page or update an existing one, you will need to update the HTML site map in both places. Updating the XML file that is uploaded to Wagtail: |
New folder structure on S3 for guidance search is: /resources/cms-content/documents/policy-guidance/ |
Research done! Closing this issue |
Summary
What we're after:
The current way we limit the
Policy and guidance search
to specific files and webpages will not work once we implement sitemaps forFEC.gov global site search
as well. We will need to limit the policy and guidance search site (https://search.usa.gov/sites/8042/domains) to specific folders to continue to limit search results to only the policy and guidance html and PDF content.Policy and guidance search site:: https://search.usa.gov/sites/8042
Global search site: https://search.usa.gov/sites/6738
Sandbox: https://search.usa.gov/sites/8940
Related issues/PR:
Issues:
PR:
Completion criteria
Policy guidance search continues to limit search results to the pdfs and webpages listed in the sitemaps once we implement sitemaps for global search.
Tech steps or considerations (optional)
List any considerations the tech team should know. Additionally, any specific tech steps can be included here.
/guidance
or/policy-guidance
/resources/cms-content/documents/<new folder>
--or just--/<new folder>
?/guidance
in Wagtail.)Before doing the above steps for the
policy-guidance search.gov site
, we need to test these onsearch.gov sandbox
usingdev.fec.gov
:dev.fec.gov
and search.gov in sandbox using the domains section (https://search.usa.gov/sites/8940/domains ) with dev urls: for example:dev.fec.gov/resources/cms-content/documents/policy-guidance/
anddev.fec.gov/updates/guidance-search
Future work
Once this is setup and tested, we can implement sitemaps with global search. #5579
The text was updated successfully, but these errors were encountered: