-
Companies
+
Business
Open source
Education
Events and Conferences
diff --git a/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py b/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py
index 59ae11d485..7669448ab6 100644
--- a/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py
+++ b/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py
@@ -77,7 +77,7 @@ class PorticoDocumentationSpider(BaseDocumentationSpider):
"http://localhost:9981/features",
"http://localhost:9981/why-zulip",
"http://localhost:9981/for/open-source",
- "http://localhost:9981/for/companies",
+ "http://localhost:9981/for/business",
"http://localhost:9981/for/communities",
"http://localhost:9981/for/research",
"http://localhost:9981/security",
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py
index 22a622728d..b8ac85e837 100644
--- a/tools/linter_lib/custom_check.py
+++ b/tools/linter_lib/custom_check.py
@@ -547,7 +547,7 @@ html_rules: List["Rule"] = [
"exclude": {
"templates/zerver/email.html",
"zerver/tests/fixtures/email",
- "templates/zerver/for-companies.html",
+ "templates/zerver/for-business.html",
"templates/corporate/support_request.html",
"templates/corporate/support_request_thanks.html",
"templates/zerver/emails/support_request.html",
diff --git a/zerver/tests/test_docs.py b/zerver/tests/test_docs.py
index 79b396fdd1..59a5975d36 100644
--- a/zerver/tests/test_docs.py
+++ b/zerver/tests/test_docs.py
@@ -164,7 +164,7 @@ class DocPageTest(ZulipTestCase):
self._test("/case-studies/rust/", "Rust programming language")
self._test("/case-studies/lean/", "Lean theorem prover")
self._test("/for/research/", "for research")
- self._test("/for/companies/", "Communication efficiency represents")
+ self._test("/for/business/", "Communication efficiency represents")
self._test("/for/communities/", "Zulip for communities")
self._test("/security/", "TLS encryption")
self._test("/attribution/", "Attributions")
@@ -189,6 +189,9 @@ class DocPageTest(ZulipTestCase):
self.assertEqual(result.status_code, 301)
self.assertIn("development-community", result["Location"])
+ result = self.client_get("/for/companies/", follow=True)
+ self.assert_in_success_response(["Communication efficiency represents"], result)
+
def test_portico_pages_open_graph_metadata(self) -> None:
# Why Zulip
url = "/why-zulip/"
diff --git a/zproject/urls.py b/zproject/urls.py
index 650da67f1f..cf896af04e 100644
--- a/zproject/urls.py
+++ b/zproject/urls.py
@@ -620,7 +620,7 @@ i18n_urls = [
path("for/events/", landing_view, {"template_name": "zerver/for-events.html"}),
path("for/open-source/", landing_view, {"template_name": "zerver/for-open-source.html"}),
path("for/research/", landing_view, {"template_name": "zerver/for-research.html"}),
- path("for/companies/", landing_view, {"template_name": "zerver/for-companies.html"}),
+ path("for/business/", landing_view, {"template_name": "zerver/for-business.html"}),
path("case-studies/tum/", landing_view, {"template_name": "zerver/tum-case-study.html"}),
path("case-studies/ucsd/", landing_view, {"template_name": "zerver/ucsd-case-study.html"}),
path("case-studies/rust/", landing_view, {"template_name": "zerver/rust-case-study.html"}),
@@ -642,6 +642,7 @@ i18n_urls = [
path(
"developer-community/", RedirectView.as_view(url="/development-community/", permanent=True)
),
+ path("for/companies/", RedirectView.as_view(url="/for/business/", permanent=True)),
]
# Make a copy of i18n_urls so that they appear without prefix for english