Are you taking a look to simplify your WordPress web site? Most likely you’re discovering your dynamic web site too gradual, or perhaps you’ve discovered there’s numerous the again finish you don’t want.

To unravel the ones problems, you’ll generate a static model of your web site. This will assist spice up its efficiency and safety. Even supposing we wouldn’t suggest static websites for each and every use case, they may be able to be a super choice for small web pages that don’t want updating continuously. 

On this put up, we’ll get started by way of discussing the diversities between static and dynamic web pages. Then we’ll display you 3 ways to construct a static WordPress web site. Let’s get to it! 

An Advent to Dynamic vs Static Web pages

First, we’ll check out the important thing variations between dynamic and static web pages.

Dynamic Web pages

Dynamic web pages provide other content material to other guests, making them extra custom designed to customers’ actual time wishes. What’s displayed will also be depending on a person’s location, their settings and personal tastes, or movements they’ve taken for your website.

Both means, it ends up in a extra adapted, personalised Person Enjoy (UX). For instance, an eCommerce retailer can recommend merchandise to shoppers, according to earlier purchases:

An example of a dynamic website

Reasonably than just storing and exhibiting HTML recordsdata (the way in which static web pages do), dynamic websites construct the pages there after which, the use of HTML, CSS, JavaScript, and server-side scripting languages. When the web page is asked by way of customers, the server pulls knowledge from databases to build the HTML document for every customer.

Those requests take longer to procedure, for the reason that HTML document isn’t in a position and ready love it is on a static web site. This may end up in efficiency problems, and gradual loading instances for dynamic web pages. On the identical time, the numerous advantages concerned imply that nearly all of the internet sites you discuss with will likely be dynamic.

Static Web pages

When customers arrive on a static web site, they obtain a unmarried HTML document, accompanied by way of some taste sheets and scripts. Those are saved and dropped at customers when the tips is asked. Because of this the web page seems precisely identical for each and every person who visits the website, and it will possibly solely be modified by way of a programmer editing the HTML document.

On the other hand, static web pages can nonetheless supply interactive and attractive reviews for customers by way of lots of the identical components that dynamic web pages use. For instance, static websites can nonetheless come with hyperlinks, buttons, media, virtual downloads, and JavaScript.

A static design is especially fitted to websites that don’t require personalised content material and don’t want updating continuously, reminiscent of informational websites, or websites consisting of lower than 4 pages. This makes them a very good selection for resume web pages, brochure web pages, and read-only touchdown pages (reminiscent of “Coming Quickly” pages).

Deciding What Form of Web site Is Proper For Your Wishes

Now that we’ve lined the fundamentals, let’s check out one of the crucial advantages and disadvantages of the use of static and dynamic web pages.

The Execs and Cons of Dynamic Web pages

Dynamic web pages be offering complete personalization, permitting you to tailor content material against every person. Dynamic code may be a lot more robust, and lets in for better capability. For instance, you’ll use dynamic code to construct internet packages and instrument, which wouldn’t be conceivable with a static web site.

Moreover, you’ll simply make sweeping adjustments in your web site, which is why we’d suggest a dynamic design for websites that replace continuously, reminiscent of blogs. It’s additionally a just right have compatibility for web pages that require quite a lot of person interplay, like eCommerce shops and streaming services and products:

Example of dynamic site for changing content frequently

However, dynamic web pages are extra advanced than static websites. Subsequently, atmosphere one up from scratch would possibly require extra effort and time, and a few technical talents. On the other hand, you’ll rent builders to set your website up for you, or use a Content material Control Device (CMS) reminiscent of WordPress.

The largest downside of dynamic websites is that there’s much more processing required within the again finish, which can lead to slower loading instances. Now not solely can this harm your UX, it will possibly cut back Time On Web site (TOS) and building up soar fee, which might be each elements for seek ratings. Thankfully, there are many simple techniques to stay your website operating temporarily.

The Execs and Cons of Static Web pages

Static web pages supply very rapid loading instances for the reason that web page is already constructed and saved away, simply looking forward to customers to get admission to it. Rapid loading instances are just right information for UX, and will assist spice up your seek engine place.

Normally, static web pages are simple to construct and handle, and require little coding wisdom. Some familiarity of HTML and CSS will also be helpful when you’re construction the website from scratch. On the other hand, you’ll additionally use web site developers and CMSs to arrange a static website with out a lot technical expertise required.

This makes static web pages a very good selection for companies taking a look to release a elementary web site as temporarily and simply as conceivable. Safety will also be tighter on static web pages too, as there are not any plugins to hack, no PHP, and no database connectrions.

For instance, the instrument corporate Rookout makes use of a static website to be able to fortify safety and cut back server load:

Example of static site to improve security

The primary barriers of making a static web site contain scalability. It may be tricky and time-consuming to hold out site-wide adjustments. For instance, if making a decision to change a header, or upload a brand new web page in your website, it could require converting every person HTML document or developing a brand new one.

That is continuously no longer sensible for rising web pages with greater than a handful of pages. There also are positive sorts of web pages that aren’t fitted to a static design, reminiscent of eCommerce shops. It is because some purposes (reminiscent of testing) will require quite a lot of third-party gear to facilitate. Those may just crush your web site, leading to efficiency and pace problems.

Methods to Create a Static WordPress Web site (3 Tactics)

If making a decision {that a} static website is correct on your wishes, you’ll wish to know the way to create one. There are a couple of strategies for doing this. So ahead of we wrap up, let’s discover 3 ways to construct a static WordPress web site.

1. Create a Static House Web page

The best way to construct one thing that purposes like a static web site is to set a unmarried static web page as your WordPress house web page. That is perfect if you wish to create a snappy and easy one-page website.

To your WordPress dashboard, pass to Pages > Upload New:

Adding a new page to WordPress

Create your web page as standard, including a name and any content material you prefer (simply keep away from together with any dynamic components). Then, click on on Post:

Create and publish a new page in WordPress

Navigate to Settings > Studying. Then, underneath Your homepage presentations, test the field for A static web page. Beside Homepage, use the drop-down field to choose the brand new web page you created, and save your adjustments:

Setting a page as a static homepage in WordPress

You’ve now created a static web page, and set it as your own home web page. Whilst this isn’t a ‘true’ static website, it will possibly paintings smartly if you wish to create a read-only touchdown web page.

2. Generate a Static Model of Your WordPress Web site

If you have already got a web site that you simply’d love to make static, you’ll use a plugin like Merely Static. This can be a nice choice if you wish to stay your dynamic website up and operating, and generate a static model of it. Relying at the supply approach you select, you’ll both obtain a document containing your static web site, otherwise you’ll have the static model of your website despatched to a specified server trail.

To your WordPress dashboard, head to Plugins > Upload New. Seek for “Merely Static”, then click on on Set up Now and Turn on:

Simply Static plugin in WordPress

Within the sidebar, pass to Merely Static > Settings. Usually, you’ll go away all the settings on the default stage. On the other hand, you’ll additionally come with/exclude any URLs manually right here (for instance, if you wish to stay positive pages out of the static model of your website):

Include/exclude URLs in Simply Static settings

Subsequent, pass to Merely Static > Generate, and click on on Generate Static Recordsdata:

Generating static files from your WordPress site using the Simply Static plugin.

Obtain your .zip recordsdata with the hyperlink equipped. In case your website occupies the area the place you’d love to have your static model positioned, you’ll wish to migrate your common WordPress web site to another subdomain. In case you plan to take your website to some other server, you’ll do that the use of the .zip recordsdata.

3. Use Headless WordPress Internet hosting

Headless construction detaches the again finish of your web site from the entrance finish, permitting you to make use of a CMS to construct your content material whilst the use of an Utility Programming Interface (API) for the entrance finish. We advise this selection if you wish to have customers to view a static model of your website, however you’d nonetheless love to make adjustments in your content material by way of having access to your WordPress admin space.

That is essentially the most advanced approach, and would require some technical experience. On the other hand, it means that you can set up your website with better flexibility and keep an eye on. For instance, it may be a just right choice for builders who need to ship content material to Android and iOS platforms from the similar again finish. It’s additionally a sensible choice for websites/apps the use of JavaScript frameworks.

To get began, you’ll need to discover a supplier that gives headless WordPress webhosting, reminiscent of WP Engine:

wpengine plugin

Chances are you’ll want two separate hosts: one for the headless again finish (which is able to wish to beef up WordPress and PHP), and one for the entrance finish of your website. With WordPress and WP Engine in combination, you’ll construct and set up headless web pages, each static and dynamic.


In case you’re discovering your dynamic web site too gradual, otherwise you’re no longer totally using its again finish, you could believe switching to a static WordPress web site. This will assist streamline your website, bettering efficiency and safety.

To recap, listed below are 3 ways to create a static WordPress web site:

  1. Create a static house web page to your WordPress dashboard.
  2. Generate a static model of your website, the use of a plugin reminiscent of Merely Static.
  3. Use a headless WordPress webhosting supplier, reminiscent of WP Engine.

Do you could have any questions on construction a static WordPress web site? Tell us within the feedback segment underneath!

The put up Is it Conceivable to Construct a Static WordPress Web site? gave the impression first on Torque.

WordPress Agency

[ continue ]