Ask HN: Is WordPress the best way to create new websites for beginner
12 points
8 hours ago
| 15 comments
| HN
Just curious if there is any better alternative for those who just knows basics of coding and are learning as they build.
preg_match
6 hours ago
[-]
No. Wordpress requires overly complex administration and deployment. There’s just a lot that goes on with Wordpress, and you’d need a VPS to deploy it just by the nature of Wordpress.

If you’re building a static site - meaning, a site which does not have any forms which require backend functions - you should use a static site generator. If you’re not building a static site, I recommend starting with a static site. It’s just a lot less to keep in your head as a beginner.

My recommendation is Astro. I like it because it makes it easy and straightforward to create a static site. And, you will also learn JavaScript along the way, without building out a node backend or even anything on the front end.

But, if you really want to learn, I recommend noting. Yes, nothing. Just HTML files in a folder, a css stylesheet, maybe some JS files, and a web server. For deployment, you don’t need a web server config or a VPS. Just use cloud flare pages, link it up with GitHub, and boom, you have a static site.

Don’t be intimidated. If you do just HTML, you can learn a lot and you get the nitty gritty. You understand how the site actually functions from start to end.

reply
aborsy
5 hours ago
[-]
You probably need a template for the page format and style, which you customize and expand writing your HTML. Otherwise starting from scratch, the page will be ugly without a lot of coding.

What’s the best way to get the template?

reply
cjk
5 hours ago
[-]
Depends on your goal.

If you’re not interested in hand-maintaining the code of the website(s), and you just want a nice GUI for publishing pages/posts/etc., then I’d say use some hosted platform like Squarespace.

For actually learning how to build websites, start with something more low-level and barebones like a static site generator (Jekyll, Hugo, Gatsby, etc.), or even plain GitHub Pages without a static site generator for the most “manual” experience.

In neither of those cases would I consider WordPress.

reply
anitroves
5 hours ago
[-]
What if i say my start was from wordpress so what shoyld I use then lets say I know basics of html and other built some php functions but now I wanna code without using AI
reply
cjk
4 hours ago
[-]
In that case, I would consider a lightweight static site generator.

It sounds like you're fairly new to programming, so I would suggest a static site generator that is easy to install and use.

Zola[1] is less well-known, but it's easy to install and fast. I tend to use Hugo[2] the most these days, which is fast and has solid documentation, but its template syntax is really annoying compared to Zola.

[1]: https://www.getzola.org/documentation/getting-started/overvi...

[2]: https://gohugo.io/getting-started/quick-start/

reply
daemonologist
6 hours ago
[-]
I would definitely not recommend WordPress.

If you just want a website for cheap: Bearblog, carrd.co, etc.

if you want all the bells and whistles on a platter: Squarespace, Wix, etc.

if you want to supply all the HTML/CSS yourself: Github Pages or Cloudflare Pages.

(Later, if you want to host the above (except the "bells and whistles" tier) yourself: Hetzner, Digital Ocean, etc.)

reply
nsmith22
1 hour ago
[-]
As others have noted, WordPress is complex to setup/administer. If you are just prototyping/learning, try https://ht-ml.app

It is free, and doesn't require any backend setup.

reply
nicbou
5 hours ago
[-]
It depends.

Personally, I would prefer a static site generator, simply because it requires zero maintenance to safely keep a static site online.

It might also be a good introduction to git and various deployment methods.

I run a website for a living, and moving to a static site generator is the best decision I've made.

reply
anitroves
5 hours ago
[-]
I have many functions to do and thus can't continue with static website only
reply
TheWiggles
6 hours ago
[-]
I would recommend looking at static sites for learning the basics of building websites. There are a ton of static site generators in different programming languages. You'll be able to to build as you go and learn how the various parts of a website work together.

I recommend looking at jamstack.org as they have a long list of options.

Personally, I enjoy Hugo, a Go based static site generator. Though if you're unsure then try a couple out and see which you like best.

reply
anitroves
5 hours ago
[-]
Now that will do for me
reply
ceejayoz
8 hours ago
[-]
No. WordPress is a giant nest of security holes.
reply
anitroves
8 hours ago
[-]
So what's the alternative
reply
not_your_vase
7 hours ago
[-]
What's your goal? If you want just a random site, then WP will do the job. If you want to learn web development, then I'd start it with a local http server (apache/nginx/whatever's your poison) and start writing html/css/js by hand, and see how it builds up line by line.
reply
anitroves
7 hours ago
[-]
That is some good advice but i wanna know proper platform or way like wp
reply
wasting_time
7 hours ago
[-]
Look for a "static site generator". Bearblog and Hugo are popular ones. Then you can host your site anywhere and don't have to worry about security problems.
reply
al_borland
6 hours ago
[-]
Bearblog is a service, not a static site generator one can use like Hugo.

From the Bearblog GitHub:

> Bear Blog has been built as a platform and not as an individual blog generator. It is more like Substack than Hugo. Due to this it isn't possible to individually self-host a Bear Blog.

Jekyll would an alternative for Hugo.

reply
wasting_time
6 hours ago
[-]
Whoops. My mistake for only reading HN headlines and extrapolating. OP, please disregard this recommendation.
reply
kimyuhan
7 hours ago
[-]
are their security systems better than wp
reply
kaikai
7 hours ago
[-]
A static site is much less vulnerable to security issues.
reply
anitroves
5 hours ago
[-]
Can't we handle wordpress security on our own or use some plugin
reply
ceejayoz
7 hours ago
[-]
Depends on the languages you know and the type of sites you're building.
reply
hstaab
6 hours ago
[-]
Cloudflare launched some alternative (also compatible iirc) to WP built on Astro this year. I haven’t tried it but might be worth a look.
reply
mmarian
5 hours ago
[-]
reply
anitroves
5 hours ago
[-]
Will try it
reply
dd-sharma
7 hours ago
[-]
I love using WP for my blog and I've a self-hosted version. In your question "new websites for beginner" indicates that the user is a beginner and wants to build websites. If websites have simple and static content that don't involve any serious stuff (e.g. e-commerce) then WP is probably ok. But for serious work i won't use it.
reply
basch
6 hours ago
[-]
I’d almost say the opposite.

For a simple website it’s overkill.

For a serious website there’s not much else that has the extensibility. Woocommerce is nearly unrivaled. There isn’t another ecosystem like it. I would think this community would lean towards the open source leaning products to the shopifys.

reply
anitroves
7 hours ago
[-]
What would be your choice for serious work then
reply
4thOfficial
3 hours ago
[-]
I've always been a big fan of the WordPress community, which is a part of how WordPress works. A few years ago Wordpress would have definitely been my go to, but there are a ton of alternatives now (great suggestions in the comments here)
reply
matt3D
4 hours ago
[-]
I find it a bit odd that none of the comments so far have mentioned LLMs.

Astro with a good understanding of how to build using a coding agent (my go to is the BMAD method)

reply
type0
5 hours ago
[-]
Publii static site generator is great for beginners and easier than WP for simple sites

https://getpublii.com/

reply
saluki
1 hour ago
[-]
No No No, start building websites with Claude Code, even if you don't know the basics of coding that's going to give you a better and more secure website.

WordPress was a good idea over a decade ago if you were doing affiliate marketing and couldn't code. But now everyone can code.

reply
frollogaston
5 hours ago
[-]
Wordpress is good. People complain about it because it's popular. Or Github pages is also fine if you just want to write and host HTML.
reply
chistev
6 hours ago
[-]
I've never tried learning WordPress, I know they say it makes building stuff easy, but I just enjoy writing code, man. It's fun.
reply
anitroves
5 hours ago
[-]
Do you use AI while deveoping if no you are legend
reply