Skip to content

Commit a06263b

Browse files
author
root
committed
chore(routing): remove unnecessary 301 redirects for new tool pages
1 parent cdf3cdd commit a06263b

3 files changed

Lines changed: 2 additions & 32 deletions

File tree

docs/landing-pages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ product. Each page targets a specific search intent, converts to the analyzer
1212
| `/tools/court-evidence` | Legal evidence: harassment, divorce/custody, work disputes | CSS transcript mockup (`LandingDocMock`) |
1313
| `/tools/proof-of-relationship` | Visa/immigration: proving a genuine relationship | CSS stats mockup (`LandingStatsMock`) |
1414

15-
All tools pages are indexable, carry per-locale SEO meta and JSON-LD, and are cross-linked via the `/tools` hub and breadcrumbs. Root URLs `/court-evidence` and `/proof-of-relationship` redirect via 301.
15+
All tools pages are indexable, carry per-locale SEO meta and JSON-LD, and are cross-linked via the `/tools` hub and breadcrumbs.
1616

1717
## Shared components (`components/landing/`)
1818

firebase.json

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,7 @@
11
{
22
"hosting": {
33
"public": "dist",
4-
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
5-
"redirects": [
6-
{
7-
"source": "/court-evidence",
8-
"destination": "/tools/court-evidence",
9-
"type": 301
10-
},
11-
{
12-
"source": "/proof-of-relationship",
13-
"destination": "/tools/proof-of-relationship",
14-
"type": 301
15-
},
16-
{
17-
"source": "/:locale(de|es|fr|pt|it)/court-evidence",
18-
"destination": "/:locale/tools/court-evidence",
19-
"type": 301
20-
},
21-
{
22-
"source": "/:locale(de|es|fr|pt|it)/proof-of-relationship",
23-
"destination": "/:locale/tools/proof-of-relationship",
24-
"type": 301
25-
}
26-
]
4+
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
275
},
286
"functions": [
297
{

nuxt.config.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,6 @@ export default defineNuxtConfig({
4141
output: {
4242
publicDir: resolve("./dist"),
4343
},
44-
routeRules: {
45-
"/court-evidence": {
46-
redirect: { to: "/tools/court-evidence", statusCode: 301 },
47-
},
48-
"/proof-of-relationship": {
49-
redirect: { to: "/tools/proof-of-relationship", statusCode: 301 },
50-
},
51-
},
5244
watch: [
5345
"components/**",
5446
"composables/**",

0 commit comments

Comments
 (0)