Skip to content

Fix broken NPTEL Discrete Mathematics link#2104

Open
ChrisJr404 wants to merge 1 commit into
jwasham:mainfrom
ChrisJr404:fix/nptel-discrete-math-link
Open

Fix broken NPTEL Discrete Mathematics link#2104
ChrisJr404 wants to merge 1 commit into
jwasham:mainfrom
ChrisJr404:fix/nptel-discrete-math-link

Conversation

@ChrisJr404
Copy link
Copy Markdown

The link for Discrete Mathematics By IIT Ropar NPTEL points at a URL that no longer resolves on NPTEL's site:

  • Current: https://nptel.ac.in/courses/106/106/106106183/ -> HTTP 404
  • Working: https://nptel.ac.in/courses/106106183 -> HTTP 200, same course (IIT Ropar, Discrete Mathematics)

NPTEL switched away from the duplicated path-segment URL pattern; the new format is just /courses/<course-id>. Verified with curl:

$ curl -sL -o /dev/null -w '%{http_code}\n' https://nptel.ac.in/courses/106/106/106106183/
404
$ curl -sL -o /dev/null -w '%{http_code}\n' https://nptel.ac.in/courses/106106183
200

The page title on the working URL is "Discrete Mathematics — IIT Ropar", confirming it's the same resource.

The current URL https://nptel.ac.in/courses/106/106/106106183/ returns
404. NPTEL's site no longer uses the duplicated path-segment format;
the same course is reachable at https://nptel.ac.in/courses/106106183
(IIT Ropar, Discrete Mathematics).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant