Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Redirect external sources (#2002)

Anton50eca5355a48
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 517abf0cd..202fc3e82 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -241,7 +241,8 @@ const config: NuxtConfig = {
redirect: {
rules: [
{ from: '^/photos/(.*)$', to: '/image/$1', statusCode: 301 },
- { from: '/meta-search', to: '/external-sources', statusCode: 301 },
+ { from: '/meta-search', to: '/about', statusCode: 301 },
+ { from: '/external-sources', to: '/about', statusCode: 301 },
],
// If the URL cannot be decoded, we call next() to show the client-side error page.
onDecodeError: (
diff --git a/src/composables/use-pages.ts b/src/composables/use-pages.ts
index c491111a6..7587a58f1 100644
--- a/src/composables/use-pages.ts
+++ b/src/composables/use-pages.ts
@@ -57,11 +57,6 @@ export default function usePages(isNew = false) {
name: 'header.search-guide-nav-item',
link: app.localePath('/search-help'),
},
- {
- id: 'external-sources',
- name: 'header.external-sources-nav-item',
- link: app.localePath('/external-sources'),
- },
{
id: 'feedback',
name: 'header.feedback-nav-item',