mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Redirect legacy enterprise path to home #571
This commit is contained in:
@@ -3,6 +3,7 @@ Openfoodnetwork::Application.routes.draw do
|
||||
|
||||
# Redirects from old URLs avoid server errors and helps search engines
|
||||
get "/enterprises", to: redirect("/")
|
||||
get "/enterprises/:permalink", to: redirect("/")
|
||||
get "/products", to: redirect("/")
|
||||
get "/t/products/:id", to: redirect("/")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user