Skip to content
By using Twitter’s services you agree to our Cookies Use. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
  • Home Home Home, current page.
  • Moments Moments Moments, current page.

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
aral's profile
Aral Balkan
Aral Balkan
Aral Balkan
@aral

Tweets

Aral Balkan

@aral

I mainly post on my blog at https://ar.al  (RSS: https://ar.al/index.xml ) and interact on my Mastodon https://mastodon.ar.al . Please follow me there.

Terra firma
ar.al
Joined December 2006

Tweets

  • © 2018 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    Aral Balkan‏ @aral Jan 7

    404 → 302: a simple gesture for an evergreen Web What if links never died? What if we never broke the Web? What if it didn’t involve any extra work? It’s possible & easy. Just make your 404s into 302s. Thoughts, suggestions & contributions welcome: https://4042302.org pic.twitter.com/xZxvOu0sTb

    A sample nginx configuration demonstrating the 404 to 302 technique. Code: server { location / { error_page 404 =302 https://2017.your.site$request_uri; try_files $uri $uri/ =404; } }
    3:32 AM - 7 Jan 2018
    • 30 Retweets
    • 106 Likes
    • Alissa M. Ruben Schade 🔰 Stuart Cullum Leonard Pauli Diego Fariñas Marisa Parham Linn Sandro Hawke Jean Pierre Kolb
    6 replies 30 retweets 106 likes
      1. New conversation
      2. Aral Balkan‏ @aral Jan 7

        Oh bugger, looks like @internetarchive indexed the missing Geocities page since I last hit it and now redirects to Yahoo Domains. Will have to update that example.

        1 reply 0 retweets 3 likes
        Show this thread
      3. Aral Balkan‏ @aral Jan 7

        Right, now serving a downloaded copy of my Geocities site instead of hitting @internetarchive directly so the examples on https://4042302.org  should all work perfectly now. Also: testament to how quickly you can set up a different version of your site with this technique :)

        0 replies 2 retweets 6 likes
        Show this thread
      4. End of conversation
      1. New conversation
      2. Russell Garner‏ @rgarner Jan 7
        Replying to @aral

        Not breaking the web is something we should do more of. We did this for GOV.UK using 301/410 and these two tools for managing and serving the mappings, respectively: https://github.com/alphagov/transition …https://github.com/alphagov/bouncer …

        2 replies 1 retweet 10 likes
      3. Aral Balkan‏ @aral Jan 7
        Replying to @rgarner

        Indeed – and happy to hear it :) I’ve been burned by 301s too many times (hence the 302 approach) :) That way, you’re not barred from overriding a URL with a new version but, if you don’t, it’ll automatically flow to the older version.

        2 replies 0 retweets 2 likes
      4. Ed Summers‏Verified account @edsu Jan 7
        Replying to @aral @rgarner

        How did 301 burn you? It's technically the correct way to redirect to where the content now lives isn't it?

        1 reply 0 retweets 0 likes
      5. Aral Balkan‏ @aral Jan 7
        Replying to @edsu @rgarner

        Because browsers cache 301s. Once you 301, there’s no reliable way of undoing it. For all intents and purposes, consider that URL lost to you forever. e.g., seehttps://stackoverflow.com/questions/10136895/how-to-undo-a-301-redirect#10136960 …

        1 reply 0 retweets 1 like
      6. Ed Summers‏Verified account @edsu Jan 7
        Replying to @aral @rgarner

        But isn’t that the point? It is lost & found at the new location. All you have to do is clear your browser cache if you want to forget the new location.

        1 reply 0 retweets 0 likes
      7. devolute‏ @devolute Jan 7
        Replying to @edsu @aral @rgarner

        And by extension, doesn't suggesting it is a temporary move (when it's not *really*) cost you in SEO terms?

        1 reply 0 retweets 0 likes
      8. Aral Balkan‏ @aral Jan 8
        Replying to @devolute @edsu @rgarner

        Possibly. That wasn’t a design criterion for this. Search engines should be optimising for how people decide to build and use the Web, not the other way around.

        1 reply 0 retweets 0 likes
      9. devolute‏ @devolute Jan 8
        Replying to @aral @edsu @rgarner

        Aye, but 1) that might be a bit ambitious in the short term and 2) tbh I think that many people have agreed that using a 301 is the right move here.

        0 replies 0 retweets 1 like
      10. End of conversation
      1. New conversation
      2. Tadeusz Szewczyk (Tad Chef)‏ @onreact_com Jan 8
        Replying to @aral

        Why use a temporary redirect (302) instead of a permanent one (301)?

        1 reply 0 retweets 0 likes
      3. Aral Balkan‏ @aral Jan 8
        Replying to @onreact_com

        301s are cached client-side. You lose the ability to override a URL with a newer version and being confident that it will be seen (it won’t be unless people clear their caches – something you have no control over).

        0 replies 0 retweets 1 like
      4. End of conversation
      1. New conversation
      2. Craig Russell‏ @craig552uk Jan 7
        Replying to @aral

        You’ve read https://www.w3.org/Provider/Style/URI … ?

        3 replies 0 retweets 2 likes
      3. Aral Balkan‏ @aral Jan 7
        Replying to @craig552uk

        Indeed. Thanks for the reminder; will look into adding that as a link.

        1 reply 0 retweets 0 likes
      4. Craig Russell‏ @craig552uk Jan 7
        Replying to @aral

        np. Oldest site I had a hand in preserving is this gem from 94. Sadly now falling into disrepair 😢 https://www.le.ac.uk/open94/open.html …

        0 replies 0 retweets 0 likes
      5. End of conversation
      1. New conversation
      2. Andrew Woods‏ @awoods Jan 7
        Replying to @aral

        i agree we shouldn’t be breaking the web. converting 404s to 302s is a good approach. if theres s new URL that serves a similar purpose to the original, go for it. however, you may want to eliminate a piece of content because its no longer useful.

        1 reply 0 retweets 0 likes
      3. Robin‏ @robin_h_p Jan 7
        Replying to @awoods @aral

        Usefulness depends on context you are coming from. If I'm trying to do something with old hardware, I still need to know "outdated" information that was true at the time. Better to leave the info & explain how it is not currently true than 404-Jedi-Mindtrick it out of existence.

        0 replies 0 retweets 2 likes
      4. End of conversation
      1. Sven Slootweg‏ @joepie91 Jan 7
        Replying to @aral

        Two problems I see with this: 1. People often do not want to keep running an old stack for security/maintenance reasons. 2. What if the content still exists on the new site, but has simply moved? The old URL should refer to the latest version, not a possibly outdated one, no?

        0 replies 0 retweets 0 likes
        Thanks. Twitter will use this to make your timeline better. Undo
        Undo

    Loading seems to be taking a while.

    Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

      Promoted Tweet

      false

      • © 2018 Twitter
      • About
      • Help Center
      • Terms
      • Privacy policy
      • Cookies
      • Ads info