Nginx: How can I redirect old content to the homepage?
Posted
by Delameko
on Server Fault
See other posts from Server Fault
or by Delameko
Published on 2010-05-05T10:49:52Z
Indexed on
2010/05/05
10:58 UTC
Read the original article
Hit count: 157
All my old content (which no longer exists) is in the path mysite.com/2007/*
How can I write a redirect in nginx to redirect any requests to 2007 back to the homepage?
At the moment they just display a 404.
Thanks
© Server Fault or respective owner