question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create logic that redirects old challenge URLs to new beta URLs

See original GitHub issue

For example, /challenges/check-for-palindromes should redirect to /en/challenges/javascript-algorithms-and-data-structures-projects/palindrome-checker

Here is a full list of current challenges on production.

In situations where these lack a beta equivalent, they can just redirect to /map

Note that all existing projects still exist on beta, though some of them have been moved to the interview-prep section.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
QuincyLarsoncommented, Mar 19, 2018

Hi @joker314 thanks for your work on this so far! To answer your questions individually:

@QuincyLarson out of interest, how did you generate your list?

I used https://www.freecodecamp.org/sitemap.xml and filtered out the challenge URLs.

beta doesn’t have a /videos endpoint for video lessons

Yes - we can ignore those video links - we don’t need to redirect them.

beta doesn’t have certificates for projects other than the JS one

I’m not sure what you mean here. The projects themselves have beta equivalents (though some of them may be in the Interview Prep > Takehome Projects section.

Do we map these jQuery links to their JavaScript equivalents, or do we just send these users to the map because they probably wanted to learn jQuery? (I’ve done the former, but this can be changed)

Please use your best judgement on these. In this case, I think you’re correct in linking to the JavaScript equivalents.

Do we send the user to the first project in that section (what I’m doing at the moment, but can be changed), or, do we send the user to the map [is there a way to highlight a particular section in the map; a bit like the suggestion in #16902]

We don’t yet have a way to link directly to an entire section of the map. https://github.com/freeCodeCamp/freeCodeCamp/issues/11060

is the introduction for the API and Microservice Projects section in freeCodeCamp. But that’s the problem, it’s an entire section, not a challenge, and it lacks an introduction like the old version does.

Both of these sections walk through how to use Glitch.com to complete the projects:

I propose we just forward this link to one of these links for now.

0reactions
manzilocommented, Jun 3, 2018

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a temporary error. The following address(es) deferred:

manzil@gmail.com Domain funtasticlabs.com has exceeded the max emails per hour (122/100 (122%)) allowed. Message will be reattempted later

------- This is a copy of the message, including all the headers. ------ Received: from mailin-04.elitehosts.com ([72.9.130.158]:40901) by neo.internetwebserver.net with esmtp (Exim 4.87) (envelope-from noreply@github.com) id 1fPUSQ-0000qv-5f for manzil@funtasticlabs.com; Sun, 03 Jun 2018 10:58:10 -0400 Received: from out-7.smtp.github.com ([192.30.252.198]) by mailin-04.elitehosts.com with esmtp (Exim 4.69) (envelope-from noreply@github.com) id 1fPURZ-0006U4-DU for manzil@funtasticlabs.com; Sun, 03 Jun 2018 10:57:17 -0400 Date: Sun, 03 Jun 2018 07:57:16 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1528037836; bh=gCMLjzEn1o1gP+wtVbrJ9J9NKCGDY7DZ2TvYeJLXSZs=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=Chj2b7HVSvSOeJtTzZEoThCUl1WQ55IvCQHz+K/eXkS9aMQkJRr5Td3qDY3LMxwd0 dkWdNWRxYfsocezVzLWA/bH4QFtq19poEGmrJ22dASefGe/D/jwVxbaUeRzX1X4QAC ACQaXO86Gj5XuTyp3a4qN2I/8VenuXR35gndckWY= From: Quincy Larson notifications@github.com Reply-To: freeCodeCamp/freeCodeCamp reply@reply.github.com To: freeCodeCamp/freeCodeCamp freeCodeCamp@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Message-ID: freeCodeCamp/freeCodeCamp/issue/16858/issue_event/1660033010@github.com In-Reply-To: freeCodeCamp/freeCodeCamp/issues/16858@github.com References: freeCodeCamp/freeCodeCamp/issues/16858@github.com Subject: Re: [freeCodeCamp/freeCodeCamp] Create logic that redirects old challenge URLs to new beta URLs (#16858) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=“–==_mimepart_5b1401cc6dcae_97e03ffcb5730f7c5477ef”; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: list X-GitHub-Sender: QuincyLarson X-GitHub-Recipient: manzilo X-GitHub-Reason: subscribed List-ID: freeCodeCamp/freeCodeCamp <freeCodeCamp.freeCodeCamp.github.com> List-Archive: https://github.com/freeCodeCamp/freeCodeCamp List-Post: mailto:reply@reply.github.com List-Unsubscribe: mailto:unsub+00bd4a0ab0286ffa717b39835330f46289335a133f5b032b92cf00000001172bc3cc92a169ce121a15d4@reply.github.com, https://github.com/notifications/unsubscribe/AL1KCu_OTxDfRjGJF71JetCfFq2tCkGnks5t4_lMgaJpZM4SjpKd X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: manzil@funtasticlabs.com X-MAILIN-04-MailScanner-Information: Please contact the ISP for more information X-MAILIN-04-MailScanner-ID: 1fPURZ-0006U4-DU X-MAILIN-04-MailScanner: Found to be clean X-MAILIN-04-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.66, required 10, autolearn=not spam, AWL 1.74, BAYES_00 -1.90, HTML_IMAGE_ONLY_32 0.00, HTML_MESSAGE 0.00, KHOP_THREADED -1.50, RP_MATCHES_RCVD -3.00, SPF_PASS -0.00, URIBL_BLOCKED 0.00) X-MailScanner-From: noreply@github.com X-Spam-Status: No

----==_mimepart_5b1401cc6dcae_97e03ffcb5730f7c5477ef Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit

Closed #16858.

– You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/freeCodeCamp/freeCodeCamp/issues/16858#event-1660033010 ----==_mimepart_5b1401cc6dcae_97e03ffcb5730f7c5477ef Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Closed #16858.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.Web Bug from https://github.com/notifications/beacon/AL1KCopyuTeZNLTn2mmOkHi1b8l8seDhks5t4_lMgaJpZM4SjpKd.gif

<MailScannerScript25024 script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","potentialAction":{"@type":"ViewAction","target":"https://github.com/freeCodeCamp/freeCodeCamp/issues/16858#event-1660033010","url":"https://github.com/freeCodeCamp/freeCodeCamp/issues/16858#event-1660033010","name":"View Issue"},"description":"View this Issue on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}</MailScannerScript25024> <MailScannerScript25024 script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/freeCodeCamp/freeCodeCamp","title":"freeCodeCamp/freeCodeCamp","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/freeCodeCamp/freeCodeCamp"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Closed #16858."}],"action":{"name":"View Issue","url":"https://github.com/freeCodeCamp/freeCodeCamp/issues/16858#event-1660033010"}}}</MailScannerScript25024> <MailScannerScript25024 script type="application/ld+json">{ "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "37567f93-e2a7-4e2a-ad37-a9160fc62647", "title": "Re: [freeCodeCamp/freeCodeCamp] Create logic that redirects old challenge URLs to new beta URLs (#16858)", "sections": [ { "text": "", "activityTitle": "**Quincy Larson**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@QuincyLarson", "facts": [

] } ], “potentialAction”: [ { “targets”: [ { “os”: “default”, “uri”: “https://github.com/freeCodeCamp/freeCodeCamp/issues/16858#event-1660033010” } ], “@type”: “OpenUri”, “name”: “View on GitHub” }, { “name”: “Unsubscribe”, “@type”: “HttpPOST”, “target”: “https://api.github.com”, “body”: “{\n"commandName": "MuteNotification",\n"threadId": 311333533\n}” } ], “themeColor”: “26292E” }</MailScannerScript25024> ----==_mimepart_5b1401cc6dcae_97e03ffcb5730f7c5477ef–

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Ultimate Guide to Redirects: URL Redirections Explained
Redirects send users & search engines from one URL to another. Find out how to use each type here.
Read more >
Redirect Your Site URLs After You Enable Enhanced Domains
When you enable enhanced domains, the *.force.com URLs for your Experience Cloud sites and Salesforce Sites change. To minimize disruption for users who...
Read more >
Redirects with HTTPS - DNSimple Blog
UPDATE July 2019: As of July 2019, we offer HTTPS redirects. You can now use DNSimple and URL records to redirect via HTTPS....
Read more >
Redirecting URLs at your site using the .htaccess Editor
Enter the URL to redirect relative to the root of your site. Enter the full URL to which the redirected URL should go....
Read more >
React Docs Beta
This beta website contains the current draft of the new docs. ... Old content links will redirect to the archived subdomain, which will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found