Skip to content

Commit

Permalink
docs: Added redirects for removed api clients pages (#1036)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbartadev authored May 31, 2024
1 parent c2b4a27 commit 2a8f031
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,15 @@ server {
rewrite ^/academy/php/using-apify-scraper-with-php$ /academy/php/use-apify-from-php permanent;
rewrite ^/api/client/?$ /api redirect;

# unified api clients docs pages -> getting started page
rewrite ^/api/client/python/docs/quick-start$ /api/client/python/docs permanent;
rewrite ^/api/client/python/docs/features$ /api/client/python/docs permanent;
rewrite ^/api/client/python/docs/usage-concepts$ /api/client/python/docs permanent;

rewrite ^/api/client/js/docs/quick-start$ /api/client/js/docs permanent;
rewrite ^/api/client/js/docs/features$ /api/client/js/docs permanent;
rewrite ^/api/client/js/docs/usage-concepts$ /api/client/js/docs permanent;

# sdk/js/api -> sdk/js/reference
rewrite ^/sdk/js/api/apify(.*)$ /sdk/js/reference$1 permanent;
rewrite ^/sdk/js/api(.*)$ /sdk/js/reference$1 permanent;
Expand Down

0 comments on commit 2a8f031

Please sign in to comment.