Skip to content

fix(nginx): collapse multi-hop redirect chains#2386

Open
B4nan wants to merge 1 commit intomasterfrom
fix/collapse-multi-hop-redirects
Open

fix(nginx): collapse multi-hop redirect chains#2386
B4nan wants to merge 1 commit intomasterfrom
fix/collapse-multi-hop-redirects

Conversation

@B4nan
Copy link
Copy Markdown
Member

@B4nan B4nan commented Apr 1, 2026

Summary

  • Collapses 14 multi-hop redirect chains where old URLs bounced through intermediate pages that themselves redirect to the final destination
  • Each old URL now points directly to the final destination, eliminating unnecessary 301/302 hops
  • No redirect destinations changed - only the intermediate steps are removed

Chains collapsed

Category Source Was Now (final destination)
Client libs /apify-client-js /api/client/js/api/client/js/docs /api/client/js/docs
Client libs /apify-client-js/latest /api/client/js/api/client/js/docs /api/client/js/docs
Client libs /apify-client-python /api/client/python.../docs/overview.../docs /api/client/python/docs
Client libs /api/client/python .../docs/overview.../docs /api/client/python/docs
Legacy scraping /scraping /platform/tutorials/platform/actors/running /platform/actors/running
Legacy scraping /tutorials /platform/tutorials/platform/actors/running /platform/actors/running
Legacy scraping /scraping/cheerio-scraper /platform/tutorials/apify-scrapers/.../academy/... /academy/apify-scrapers/cheerio-scraper
Legacy scraping /scraping/getting-started /platform/tutorials/apify-scrapers/.../academy/... /academy/apify-scrapers/getting-started
Legacy scraping /scraping/puppeteer-scraper /platform/tutorials/apify-scrapers/.../academy/... /academy/apify-scrapers/puppeteer-scraper
Legacy scraping /scraping/web-scraper /platform/tutorials/apify-scrapers/.../academy/... /academy/apify-scrapers/web-scraper
Web scraping 101 /web-scraping-101 /platform/web-scraping-101/academy/web-scraping-for-beginners/academy/scraping-basics-javascript /academy/scraping-basics-javascript?legacy-js-course=/
Web scraping 101 /platform/web-scraping-101 /academy/web-scraping-for-beginners/academy/scraping-basics-javascript /academy/scraping-basics-javascript?legacy-js-course=/
Removed pages /platform/robotic-process-automation /academy/concepts/robotic-process-automation/ /
Removed pages /platform/web-scraping-101/web-scraping-techniques /academy/concepts/ /

Also collapses the same chains for /tutorials/apify-scrapers/* variants (4 additional rules pointing to the same intermediate destinations).

🤖 Generated with Claude Code

Point old URLs directly to their final destinations instead of bouncing
through intermediate redirects that themselves redirect again.

Fixes 14 multi-hop chains:
- Client library paths (/apify-client-js, /apify-client-python, /api/client/python)
  now go directly to /docs pages
- /scraping/* paths now go directly to /academy/apify-scrapers/*
- /scraping and /tutorials now go directly to /platform/actors/running
- /web-scraping-101 now goes directly to /academy/scraping-basics-javascript
- /platform/web-scraping-101 and /platform/robotic-process-automation
  now go directly to final destinations instead of through removed
  /academy/concepts/* pages

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot added this to the 137th sprint - Tooling team milestone Apr 1, 2026
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Apr 1, 2026
@B4nan B4nan requested a review from TC-MO April 1, 2026 13:21
@B4nan
Copy link
Copy Markdown
Member Author

B4nan commented Apr 1, 2026

This is what claude identified as still not handled by #2313

@apify-service-account
Copy link
Copy Markdown

Preview for this PR was built for commit 6ff1d8f4 and is ready at https://pr-2386.preview.docs.apify.com!

@B4nan B4nan added the adhoc Ad-hoc unplanned task added during the sprint. label Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants