diff --git a/nginx.conf b/nginx.conf index d466b7ae75..13c34f0bed 100644 --- a/nginx.conf +++ b/nginx.conf @@ -404,6 +404,10 @@ server { rewrite ^/api/v2/users-monthly-usage$ /api/v2/users permanent; rewrite ^/api/v2/users-account-and-usage-limits$ /api/v2/users permanent; + # api/v2-new to api/v2 + + rewrite ^/api/v2-new(.*)$ /api/v2$1 permanent; + # Actor marketing playbook addition rewrite ^/academy/get-most-of-actors$ /academy/actor-marketing-playbook permanent; diff --git a/static/robots.txt b/static/robots.txt index 2e754ce9c6..0d694268eb 100644 --- a/static/robots.txt +++ b/static/robots.txt @@ -2,3 +2,4 @@ User-agent: * Sitemap: https://docs.apify.com/sitemap.xml Disallow: https://docs.apify.com/api/v2-old Disallow: https://docs.apify.com/api/v2-redoc +Disallow: https://docs.apify.com/api/v2-new