<!DOCTYPE html>
<html lang="en">
<!-- Beautiful Jekyll 5.0.0 | Copyright Dean Attali 2020 -->
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
  <link rel="manifest" href="/site.webmanifest">
  <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
  <meta name="msapplication-TileColor" content="#da532c">
  <meta name="theme-color" content="#ffffff">
  

  

  <title>New Invitation URLS</title>

  
  <meta name="author" content="The SQL Saturday Corporation">
  

  <meta name="description" content="As part of the migrartion, I needed to set new URLs for the various pages. My export process tried to assign things like /?p=1232 for posts with each post having its own URL. I decided that a better method would be using the number of the invite for the URL....">

  

  

  <link rel="alternate" type="application/rss+xml" title="T-SQL Tuesday" href="https://tsqltuesday.com/feed.xml">

  

  

  


  
    
      
  <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">


    
      
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css">


    
      
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic">


    
      
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800">


    
  

  
    
      <link rel="stylesheet" href="/assets/css/bootstrap-social.css">
    
      <link rel="stylesheet" href="/assets/css/beautifuljekyll.css">
    
  

  

  
  
  

  

  
  <meta property="og:site_name" content="T-SQL Tuesday">
  <meta property="og:title" content="New Invitation URLS">
  <meta property="og:description" content="As part of the migrartion, I needed to set new URLs for the various pages. My export process tried to assign things like /?p=1232 for posts with each post having its own URL. I decided that a better method would be using the number of the invite for the URL....">

  
  <meta property="og:image" content="https://tsqltuesday.com/assets/img/logos/tsqltuesday.jpg">
  

  
  <meta property="og:type" content="website">
  <meta property="og:url" content="https://tsqltuesday.com/news/20240823-newurls.md">
  <link rel="canonical" href="https://tsqltuesday.com/news/20240823-newurls.md">
  

  
  <meta name="twitter:card" content="summary">
  
  <meta name="twitter:site" content="@tsql2sday">
  <meta name="twitter:creator" content="@tsql2sday">

  <meta property="twitter:title" content="New Invitation URLS">
  <meta property="twitter:description" content="As part of the migrartion, I needed to set new URLs for the various pages. My export process tried to assign things like /?p=1232 for posts with each post having its own URL. I decided that a better method would be using the number of the invite for the URL....">

  
  <meta name="twitter:image" content="https://tsqltuesday.com/assets/img/logos/tsqltuesday.jpg">
  

  


  

  

</head>


<body>

  


  <nav class="navbar navbar-expand-xl navbar-light fixed-top navbar-custom top-nav-regular"><a class="navbar-brand" href="https://tsqltuesday.com/">T-SQL Tuesday</a><button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#main-navbar" aria-controls="main-navbar" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>

  <div class="collapse navbar-collapse" id="main-navbar">
    <ul class="navbar-nav ml-auto">
          <li class="nav-item">
            <a class="nav-link" href="/the-archive">The Archive</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="/host-index">Host Index</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="/news">News</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="/rules">Rules</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="/about">About</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="/contact">Contact</a>
          </li></ul>
  </div>

  

  
    <div class="avatar-container">
      <div class="avatar-img-border">
        <a href="https://tsqltuesday.com/">
          <img alt="Navigation bar avatar" class="avatar-img" src="/assets/img/logos/tsqltuesday.jpg" />
        </a>
      </div>
    </div>
  

</nav>


  <!-- TODO this file has become a mess, refactor it -->






<br>
<br>
<header class="header-section ">

<div class="intro-header no-img">
  <div class="container-md">
    <div class="row">
      <div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
        <div class="page-heading">
          <h1 align="center">New Invitation URLS</h1>
          

          
        </div>
      </div>
    </div>
  </div>
</div>
</header>





<div class=" container-md " role="main">
  <div class="row">
    <div class=" col-xl-8 offset-xl-2 col-lg-10 offset-lg-1 ">
      

      <p>As part of the migrartion, I needed to set new URLs for the various pages. My export process tried to assign things like /?p=1232 for posts with each post having its own URL. I decided that a better method would be using the number of the invite for the URL.</p>

<p>That meant that I would make /001 be the URL for the invitation for T-SQL Tuesday #001.</p>

<p>This was a manual process, for reasons I’ll explain in a migration post, but the easiest thing was to just take the number and add it as the link. I ended up with 177 posts to edit, which took about 40 minutes. I spent about 15 minutes on a python script, but I had encoding issues, so I bailed.</p>

<p>Now you can go to tsqltuesday.com/nnn where nnn is the number of the invite to get the copy I archive of the post.</p>


      

      

    </div>
  </div>
</div>


  <footer>
  <div class="container-md beautiful-jekyll-footer">
    <div class="row">
      <div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
      <ul class="list-inline text-center footer-links"><li class="list-inline-item">
    <a href="/feed.xml" title="RSS">
      <span class="fa-stack fa-lg" aria-hidden="true">
        <i class="fas fa-circle fa-stack-2x"></i>
        <i class="fas fa-rss fa-stack-1x fa-inverse"></i>
      </span>
      <span class="sr-only">RSS</span>
    </a>
  </li><li class="list-inline-item">
    <a href="mailto:admin@sqlsaturday.com" title="Email me">
      <span class="fa-stack fa-lg" aria-hidden="true">
        <i class="fas fa-circle fa-stack-2x"></i>
        <i class="fas fa-envelope fa-stack-1x fa-inverse"></i>
      </span>
      <span class="sr-only">Email me</span>
   </a>
  </li><li class="list-inline-item">
    <a href="https://github.com/sqlsaturday/tsqltuesdaytest" title="GitHub">
      <span class="fa-stack fa-lg" aria-hidden="true">
        <i class="fas fa-circle fa-stack-2x"></i>
        <i class="fab fa-github fa-stack-1x fa-inverse"></i>
      </span>
      <span class="sr-only">GitHub</span>
   </a>
  </li><li class="list-inline-item">
    <a href="https://twitter.com/tsql2sday" title="Twitter">
      <span class="fa-stack fa-lg" aria-hidden="true">
        <i class="fas fa-circle fa-stack-2x"></i>
        <i class="fab fa-twitter fa-stack-1x fa-inverse"></i>
      </span>
      <span class="sr-only">Twitter</span>
   </a>
  </li></ul>

      
      <p class="copyright text-muted">
      
        The SQL Saturday Corporation
        &nbsp;&bull;&nbsp;
      
      2026

      

      

      &nbsp;&bull;&nbsp;

      <a href="privacy">Privacy Policy</a>
      </p>
      <p class="theme-by text-muted">
        Powered by
        <a href="https://beautifuljekyll.com">Beautiful Jekyll</a>
      </p>
      </div>
    </div>
  </div>
</footer>


  
  
    
  <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs=" crossorigin="anonymous"></script>


  
    
  <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>


  
    
  <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>


  



  
    <!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
    
      <script src="/assets/js/beautifuljekyll.js"></script>
    
  









</body>
</html>
