Remove the file hosting service page and all references #21

Closed
opened 2026-07-29 05:39:18 -07:00 by westfarn · 0 comments
Owner

Summary

We no longer offer file hosting as a service. Remove the /file_hosting page and every reference to it (nav, home pages, SEO metadata, sitemap, static assets) so the site stops advertising a product we don't sell.

Scope / files to change

File Change
company_site/public/urls.py:15 Delete path("file_hosting", views.file_hosting, name="file_hosting")
company_site/public/views.py:69-70 Delete the file_hosting view
company_site/public/templates/public/file_hosting.html Delete template
company_site/public/templates/base.html:72,82 Remove Hosting nav dropdown link and drop file_hosting from the active-state url_name list
company_site/public/templates/public/new_index.html:222-225 Remove the "File Hosting" service card
company_site/public/templates/public/index.html:57-58 Remove the File Hosting section (legacy home template)
company_site/public/seo.py:67-71,107 Remove the file_hosting page metadata entry and its sitemap entry
company_site/public/static/public/img/file_hosting/ + img/file_hosting_bg.jpg Delete unused images (~6 MB)

Notes

  • Search for any leftover file_hosting / "File Hosting" strings after the edits; {% url 'file_hosting' %} left anywhere will raise NoReverseMatch at render time.
  • Decide on a redirect: safest is a permanent redirect from /file_hosting to the services/home page so existing inbound links and search results don't 404. If we accept the 404 instead, note it here and let the sitemap change drive de-indexing.
  • Tianji events service_click (service="File Hosting") and service_cta (page="file_hosting") will stop firing; no dashboard cleanup required, just expect the series to end.

Acceptance criteria

  • /file_hosting no longer renders the marketing page (redirect or removed per decision above)
  • No "Hosting" entry in the nav dropdown, no File Hosting card on the home page
  • sitemap.xml and page metadata no longer list file hosting
  • No file_hosting references remain in Python or templates
  • Unused file hosting images deleted
  • public app tests pass
## Summary We no longer offer file hosting as a service. Remove the `/file_hosting` page and every reference to it (nav, home pages, SEO metadata, sitemap, static assets) so the site stops advertising a product we don't sell. ## Scope / files to change | File | Change | |---|---| | `company_site/public/urls.py:15` | Delete `path("file_hosting", views.file_hosting, name="file_hosting")` | | `company_site/public/views.py:69-70` | Delete the `file_hosting` view | | `company_site/public/templates/public/file_hosting.html` | Delete template | | `company_site/public/templates/base.html:72,82` | Remove `Hosting` nav dropdown link and drop `file_hosting` from the active-state url_name list | | `company_site/public/templates/public/new_index.html:222-225` | Remove the "File Hosting" service card | | `company_site/public/templates/public/index.html:57-58` | Remove the File Hosting section (legacy home template) | | `company_site/public/seo.py:67-71,107` | Remove the file_hosting page metadata entry and its sitemap entry | | `company_site/public/static/public/img/file_hosting/` + `img/file_hosting_bg.jpg` | Delete unused images (~6 MB) | ## Notes - Search for any leftover `file_hosting` / "File Hosting" strings after the edits; `{% url 'file_hosting' %}` left anywhere will raise `NoReverseMatch` at render time. - Decide on a redirect: safest is a permanent redirect from `/file_hosting` to the services/home page so existing inbound links and search results don't 404. If we accept the 404 instead, note it here and let the sitemap change drive de-indexing. - Tianji events `service_click` (service="File Hosting") and `service_cta` (page="file_hosting") will stop firing; no dashboard cleanup required, just expect the series to end. ## Acceptance criteria - [ ] `/file_hosting` no longer renders the marketing page (redirect or removed per decision above) - [ ] No "Hosting" entry in the nav dropdown, no File Hosting card on the home page - [ ] `sitemap.xml` and page metadata no longer list file hosting - [ ] No `file_hosting` references remain in Python or templates - [ ] Unused file hosting images deleted - [ ] `public` app tests pass
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/company_site#21