Migrate from WordPress to Hugo, Step by Step
- 6 hours on-demand video
- 2 articles
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- Migrate a blog from the WordPress platform to an ultra-fast website using the Hugo static site generator.
- Leverage your HTML/CSS skills to create custom Hugo themes.
- Learn Hugo as you go!
- Determine whether or not Hugo will work for your website or blog.
- Understand how to use Hugo to easily post content to your blog.
- Understand some solid hosting options for your site and how to configure each one.
- (COMING SOON) Discover Hugo alternatives for your favorite WordPress features and plugins.
To set the stage for the course, let's get a humorous glimpse into how Hugo will rescue you from the clutches of WordPress
Hugo is the "world's fastest static site generator." Understand the difference between static and dynamic sites, and the implications in terms of security, performance, and hosting costs.
Determine whether or not Hugo is the best choice for your site
Learn how Netlify's automatic deploy previews for merge requests can integrate nicely into your workflow.
Warning: Drink your coffee. ☕ This lesson is jam-packed. Includes sidebars and information on:
Updating Git submodules to the latest version
How the example theme enables CSS customization
Synchronizing your local Git repo after accepting a merge request in GitLab.
You saw how Netlify creates deploy previews for merge requests. With a little configuration, it's possible to enable deploy previews for specific branches as well. And, each branch can have its own build settings as well! ?
Learn how to set this up, and even how to enable draft posts for this branch preview.
- An internet-connected computer running Windows, Mac, or Linux.
- Basic coding skills are recommended if you plan on building a Hugo theme.
- Basic familiarity with the command line is recommended, though not strictly necessary.
Hugo is a super fast static site generator that's here to save you time and make your site fast, secure, and inexpensive to host. There's just one catch, your current website is already on WordPress™. This course will guide you through safely migrating your site and your workflow from WordPress to Hugo.
NOTE: This is an EARLY BIRD version of the course. The initial offering walks you through migrating a basic site, such as a blog. New content will be added to help you migrate more complicated WP sites to Hugo.
WordPress is the most popular website management system in the world. And with good reason: it's easy to get up and running, and there is a rich ecosystem of beautiful themes and feature-enhancing plugins.
However, (queue the eerie mood music), WordPress has is faults...
Every year, security vulnerabilities are discovered in WordPress and its underlying programming language, PHP.
Content is served dynamically, so site performance suffers. Getting a solid PageSpeed ranking requires lots of of time, plugins, and hacks.
Good hosting options can be quite expensive.
Its database back-end limits hosting options and complicates backup and recovery.
But here's a secret you probably already know: Today, the vast majority of sites don't need to be on WordPress. Most sites serve static, or unchanging, content. For example, I'm doing good if I can publish to my blog once a month or so. So why was I using a Content Management System (CMS) like WordPress? In my case, I didn't want to have to write my posts as HTML, upload them over FTP, update index pages to include my new post, manually add pagination, headers, footers, format images, etc. WordPress automated all of this. For the most part, all I had to do was focus on the content; WordPress took care of the rest. It was glorious!
That was the early 2000s. Nowadays we have static site generators like Hugo! With Hugo, I just write my blog post. Then Hugo generates my entire site, including all of those updated links, headers, footers, even a sitemap. And get this: it does it in about 1 second. Then, with a single command I can push my updated site to a service like Netlify, and my new post is live within a few minutes.
With Hugo, you get:
Ultra-fast site generation
Free hosting options
More security because there is no database or run-time to hack
Static pages are faster to serve and easy to cache. A faster site means better SEO.
Backups are essentially unnecessary if you store your repo on GitHub or GitLab.
Change tracking comes for free if you store your site in a Git repo.
Of course, for long-time WordPress users like myself, a number of questions come up:
What about my SEO plugin (yoast)? (Coming)
What about my syntax highlighting plugin (for tech blogs)? (Coming)
What about my comments!? (Coming)
What about my cool theme? Can I port it Hugo? (In progress)
What about help with spelling, grammar, writing style? (Coming)
What about advanced plugins for asset bundling, minification, etc? (In progress)
Learn all this and more with this comprehensive course. Enjoy!
- Web developers interested in learning Hugo
- Anyone with a slow WordPress site looking for greatly increased performance and enhanced SEO.
- Anyone tired of constantly patching WordPress' security vulnerabilities.
- Anyone looking for free (or extremely low-cost) hosting options for their website.