Skip to content

Commit 7b79ea3

Browse files
authored
docs: add redirect and add new item to robots.txt (#1514)
add redirect from api/v2-new to api/v2 add api/v2-new to robots.txt
1 parent f6b1947 commit 7b79ea3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

nginx.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,10 @@ server {
404404
rewrite ^/api/v2/users-monthly-usage$ /api/v2/users permanent;
405405
rewrite ^/api/v2/users-account-and-usage-limits$ /api/v2/users permanent;
406406

407+
# api/v2-new to api/v2
408+
409+
rewrite ^/api/v2-new(.*)$ /api/v2$1 permanent;
410+
407411
# Actor marketing playbook addition
408412

409413
rewrite ^/academy/get-most-of-actors$ /academy/actor-marketing-playbook permanent;

static/robots.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ User-agent: *
22
Sitemap: https://docs.apify.com/sitemap.xml
33
Disallow: https://docs.apify.com/api/v2-old
44
Disallow: https://docs.apify.com/api/v2-redoc
5+
Disallow: https://docs.apify.com/api/v2-new

0 commit comments

Comments
 (0)