Deirdre Saoirse Moen

Sounds Like Weird

Site Redirects

23 October 2022

When I migrated my site, one of the things I very carefully generated—and forgot to put in the right place—were the redirects. Before, I’d used the WordPress common default of year-month-day-title, which, for a blog that’s been as inactive as this one has been, is frankly hilarious.

Instead, the new site just uses year-title, which suits the frequency of this blog better. However, it meant generating an enormous series of 301 redirects to route the requests at the old location to the new location, which I wrote code to do.

Then I forgot to add that last bit where it got copied into .htaccess.

Well, it’s fixed now. Yay.

Still more to do, but at least that oops is fixed.

Related Posts