Can I Move My Wordpress To Netlify

I am on a very tight budget & I want to cut costs - I saw you have offered free hosting & I am very happy with it & I paired it with cloudflare for even greater hosting experience but I have 2 sites that are wordpress & they cost 16$ per month to host at hostgator - I love the shared hosting but I want to move wordpress over because I plan to use the shared hosting as a file storage area for our video files or audio files - which isn’t allowed with you guys - without a subscription & I would prefer not to go through that route if I can truly avoid it. I also want to make the wordpress site static & I am very much looking at using WP2Static to do that and bring it over - you do support static websites so I should be fine to bring the static version over correct?

I didn’t find any information in the forum about WP2Static except this, which is not that helpful, but does prove that Netlify can be used with WP2Static.
One thing you need to consider is if you delete your WP instance on your hostgator you won’t be able to edit your sites, you need to find CMS which is SSG (static site generator) friendly. You can check for more options.
If you have a lot of text based content i would consider converting it into markdown (or other file based text formats) i would move the files to github or gitlab, then with an SSG like Hugo or gatsby i would generate the sites. The site generation can be done using Netlify Build.
There are CMS-es which can communicate directly with github/gitlab and are fully static (so Netlify can also host them, just as your site), so if an edit is happening the CMS makes a commit to your github repo (makes a change in your markdown files) Netlify can detect if a change is happening and can initiate a site build using your chosen SSG, the SSG generates the files from your markdown files, Netlify then copies the static files and your changes are deployed.

There’s an example repo which gets you going with all this, it uses NetlifyCMS and Gatsby, but there are other possibilities as well pending on your use case and content, etc.
Since you are aiming for a cost effective solution i would suggest to go with this path, but if you willing to go into more details about your site and how you’re going to use it, we can prob. come up with a more fitting solution.

One more thing: Don’t pair your Netlify sites with cloudflare, it could cause you issues and it doesn’t make any sense because Netlify is already a CDN, it’s already optimized and secure, it’s magic! :mage:

1 Like

thanks for the awesome response @zltnvrs! Let us know if you have any further questions, @ihoman!

@zltnvrs Very informative response! I have a WordPress site with custom PHP code for a private user account section, as well as a number of plugins. Would it be possible to bring this to Netlify using a CMS-SSG combo (if so, how to choose the appropriate CMS & SSG)?

It would take a fair amount of work on your part. There is no automagic way to migrate a site that complicated, and no obvious path of “you’ll definitely want to use XYZ SSG” - you’ll have to evaluate what works well, figure out what can map to your current setup, probably resign yourself to doing some redesign work to accommodate the best-but-not-perfect featureset for your use case.

This is a demo of how it CAN work, but again, without custom plugins and private user accounts:

1 Like