diff --git a/nginx/conf.d/898.ro.conf b/nginx/conf.d/898.ro.conf index 90a60ae..6f83bad 100644 --- a/nginx/conf.d/898.ro.conf +++ b/nginx/conf.d/898.ro.conf @@ -31,6 +31,16 @@ server { return 301 https://898.ro/tags/$1; } + # Redirect /tag/ URLs to /tags/ + location ~ ^/tags/(.*) { + return 301 https://898.ro; + } + + # Redirect /en/ URLs + location ~ ^/en/(.*) { + return 301 https://898.ro; + } + # Redirect /tag/ URLs to /tags/ location ~ ^/tag/(.*) { return 301 https://898.ro/tags/$1;