Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Moving your blog from Medium (or Substack, or Hashnode) to your own domain? An 11-point checklist so the links survive

Scheduled broken-link and redirect checks that tell you the moment a link breaks — linkbruno.com Moving a blog between two sites you control is a redirect exercise: map old URLs to new ones, add 301s, done. Moving off a hosted platform is harder, because the old URLs belong to someone else. On most platforms you can't add server-side redirects from medium.com/@you/my-post-a1b2c3 to…

Moving a blog from one platform to your own domain can be tricky, as the old URLs are controlled by the previous host. The goal shifts from making every old link work to ensuring readers are directed to the new location and that your own links remain functional. This 11-point checklist will help you navigate the transition smoothly:

1. Confirm you're not already on a custom domain. If your content is hosted at "blog.yourdomain.com" thanks to the platform's custom-domain feature, you control the DNS, and redirecting after the move will be straightforward. If your posts are at "platform.com/@you/", the process becomes more complex, and the following steps are crucial.

2. Create a comprehensive URL inventory. List every post URL, its title, and publish date on the platform. Export tools from Medium, Substack, and Hashnode can provide most of this information. Save the platform's sitemap or profile page as well, as exports may miss some posts or drafts.

3. Identify who links to your content. Use Search Console for your domain, but also perform backlink searches for your post URLs, check your GitHub README, conference slides, newsletter archives, and social profiles. Control over these links will be essential for the migration.

4. Maintain slugs close to their originals. Platform URLs often include random IDs (e.g., my-post-a1b2c3d4e5). Strip these IDs but preserve the readable slug, transforming it into /blog/my-post/. This makes mapping easier and helps readers recognize posts.

5. Download and rehost every image. Exported HTML still references images on the platform's CDN, which may stop working after you delete your account or due to hotlink protections. Download all images, upload them to your new domain, and update the image URLs during import. Do this before deleting any content.

6. Update internal links between your own posts. Your posts referenced each other using platform URLs. After the move, these internal links will point to the old platform, breaking the connection when you leave. Use the URL inventory from step 2 to rewrite every link to your own old URLs into the new format.

7. Address embeds and platform-specific markup. Gists, tweets, code embeds, highlight markup, and footnotes often appear as broken HTML or bare links after extraction. Search for the platform's domain and iframe tags within the imported content and review each instance. While an imported post may appear flawless, it could still contain leftover old-platform links that need fixing.

8. Redirect old posts to the new ones. If redirecting isn't an option, add a brief "This post has moved to yourdomain.com/blog/my-post/" line at the top of each old post with a link to the new location. Some platforms offer canonical URLs; if your platform supports it, point it to the new location to consolidate search engine results on your domain. Perform this action before unpublishing any content.

9. Decide whether to keep old posts up. Leaving them (with a "moved" note and canonical URL) preserves external links at the expense of potential duplicate content, which the canonical mainly addresses. Deleting them would break every external link. Keeping the posts for at least a year is often the best compromise.

10. Update the links you control. Refer to the URL inventory from step 3 to update links in your README files, slides, bios, email signatures, and other sites. These links are the easiest to fix and the most embarrassing to overlook.

11. Conduct a full link check on the new site and schedule regular updates. Verify both internal links, images, and outbound links. Import posts carry years' worth of outbound links that may already be broken. Keep the link check running, as new broken links can appear over time. Don't forget to inform subscribers and update your RSS feed (e.g., /feed.xml or /rss.xml) so they can discover your new site.

Publish a final announcement on the old platform linking to the new site's feed and newsletter signup, and consider emailing subscribers with an explanation of the move and a welcome to the new location.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

From Vision to Reality: Building an AWS Student Community at My College

A few months ago, I wrote about being selected as an AWS Student Builder Group Leader (SBGL) and what I hoped to build at Tribhuvan University, Bhaktapur Multiple Campus.

  • Author led AWS Student Builder Group at Tribhuvan University
  • Faced challenges in organizing community, learned on the go
  • Organized first event "Your First Step into AWS & Cloud Computing"

I built a "real" virtual monitor so I could screen-share from my ultrawide

I work on a single 34" ultrawide (3440×1440). Every time I shared my screen on a video call, one of three things happened: Share the entire screen → too wide, nobody can read it Share a window →…

  • Tech enthusiast created "real" virtual monitor for ultrawide screen sharing
  • Virtual monitor (1920×1080) recognized as genuine Windows display
  • WideStage app offers free installation with optional paid version

Why a 100% benchmark score is a red flag, not a win

A model hit 100% on a benchmark this week and it was reported as a milestone. It is not one. It is a benchmark that has stopped being able to tell you anything, and the moment it saturates is the…

  • A 100% benchmark score raises red flags, not celebrating a victory.
  • Saturated benchmark has no room for further differentiation between models.
  • Reporting distance to the ceiling provides more informative than raw benchmark score.

How to fix link previews that don't show up (or show the wrong image) on Slack, X, LinkedIn, Discord and WhatsApp

Scheduled broken-link and redirect checks that tell you the moment a link breaks — linkbruno.com You publish a post, paste the link into Slack or LinkedIn, and instead of a nice card with a title and…

  • Broken link previews often result from issues with Open Graph and Twitter Card tags.
  • Ensure tags are in server-rendered or pre-rendered HTML, use absolute URLs for images.
  • Adjust user agents, change image URLs, or use crawlers to resolve platform-specific issues.

Paginating a long receipt at its print size

On a phone, you can scroll through a receipt image that's 3,500 pixels tall. At Repceipt's print scale, that's nearly 44 cm of paper.

  • Repceipt divides tall receipt into two printed sheets
  • Calculates rows per page using 8 pixels per millimeter
  • Leaves 720 points of space for image on Letter page

More from Monday 23 November →