A couple of years ago, WPLift published an article titled “How to Use a WordPress Static Site Generator to Make WordPress Static.” That article used the WP2Static plugin as an example.
WP2Static has since been taken over by Strattic. It is no longer available in the WordPress plugin directory, although you can still get it through the plugin website.
However, while Strattic announced that it would continue to maintain and support WP2Static, they are a competing and commercial WordPress static hosting company. Therefore, the plugin’s future looks rather haphazard .
Fortunately, a great alternative is now available – Staatic – and I will be focusing on that today. So, let’s jump straight in.
What is a Static Site?
To recap, if you haven’t read the article mentioned above, a static WordPress site uses static rather than dynamic content. That minimizes server resource usage, leading to blisteringly fast page loading times. Furthermore, static websites are less prone to malicious attacks than their dynamic counterparts.
You can use static sites if you rarely make changes to your site, and it does not rely on dynamic content (e.g., WooCommerce stores) where things are continually changing.
Static sites are great for things like:
- Basic portfolios
- Online resumés
- Brochure-type websites as used by wedding sites, small business such as consultants, etc.
- Basic blogs
Sites built using WordPress are dynamic, but conversion to static is easy using a plugin such as Staatic. The converted site will consist of HTML assets, images, scripts, etc., but with WordPress and PHP stripped away. The result is pages requested from your site are served immediately, eliminating the need for them to be generated on the fly.
Remember that if your WordPress site uses plugins requiring dynamic server-side functions (such as forms and searches), they won’t work on a static site. A workaround for this is to modify the static site to emulate the plugin or upgrade to a premium Staatic plan which includes features to alleviate this problem.
Key Features of Staatic
Given the original WPLift article I mentioned above focused on the free version of WP2Static, I think it is only fair that I stick with the equivalent version of Staatic for this article.
Article Continues Below
In its free guise, Staatic gives you the following key features:
- A powerful crawler that allows for fast transformation of your dynamic WordPress site to a static one
- Multiple deployment methods – for example, Netlify, Amazon Web Services S3, CloudFront, local server (dedicated or shared hosting), etc.
- Additional URLs, paths, redirects, and exclude rules supported
- HTTP redirects, custom “404 not found” page, and other HTTP headers
- Publish from the command line using the CLI command
- Compatible with WordPress MultiSite and HTTP basic authentication protected WordPress installations
Of course, the premium version of Staatic includes plenty more functionality, and I will discuss that later. However, the free version is the perfect starting point for newbies to static WordPress site creation.
Installing and Setting Up Staatic
Firstly, I strongly suggest you read through the plugin documentation, which gives step-by-step instructions on what you need to do next to install, configure, and use Staatic.
However, in simple terms, the process is as follows:
1. Verify system requirements and enable PHP extensions
To use Staatic, your source site needs to be running using WordPress 5.0 or greater. Furthermore, the PHP version needs to be at least 7.0, although 7.4 is preferable as it includes greater security features.
You will also need to check four PHP extensions (Mbstring, Json, XML, and Zip) are enabled. How you do that depends on the admin tools your site hosting company provides. For example, if your hosting provider uses cPanel, you can access the PHP extensions by clicking on ‘Select PHP Version’ under ‘Software.’
Once you click on that, you will see all available extensions and whether they are currently enabled.
2. Create a new (sub)domain and database
As a new static website will replace your existing one, the developer recommends creating a clone before proceeding with the migration process. This entails creating a new (sub)domain and database for the cloned site.
As with the PHP extensions, how you do that depends on the admin tools available to you. In the case of cPanel, you create a new domain (or subdomain) using the ‘Domains’ option and a corresponding database using ‘MySQL Database Wizard.’
3. Clone your WordPress site
There are many ways of cloning your site. The Staatic documentation suggests using the free Duplicator plugin, available in the WordPress plugin directory. Install and activate that as you would any other plugin. Then, follow the instructions in the Staatic documentation to create the clone.
4. Restrict access to WordPress
The documentation recommends restricting access to the WordPress version of your site and suggests using HTTP basic authentication to do that.
Setting up HTTP basic authentication is usually done at the web server or hosting control panel level. Apache is the commonly used web server and requires you to create a .htpasswd file and update the .htaccess file. You can find a step-by-step tutorial on the TransIP website that leads you through this process. Whats more, it also has a .htpasswd generator.
5. Decide on your static site deployment strategy
With Staatic, you can publish your static site to the same server currently hosting your WordPress installation (i.e., local directory,) or alternatively, you can use one of the supported cloud providers (such as Amazon Web Services or Netlify.)
Depending on your choice, you will need to review the documentation relating to each deployment type to see if any additional preparation steps are necessary before installing the Staatic plugin.
6. Install and activate the Staatic plugin
Staatic is added to WordPress and activated in the same way as any other plugin. Once that is done, a new menu item will appear in your WordPress backend, giving you access to the plugin’s features:
7. Configure the plugin’s ‘Build’ settings
The first port of call is the ‘Build’ tab of the Staatic backend menu.
Here, you need to enter the destination URL of the site you wish to publish, which can either be absolute, relative, or offline. It’s also possible to specify additional URLs, paths, and redirects that the static build must include or exclude.
A short description of each option is available under each field in the Build tab, while detailed explanations are available in the ‘Build Settings’ section of the documentation.
8. Configure the ‘Deployment’ settings
Next, you must configure the various deployment options in the ‘Deployment’ tab.
A dropdown box gives the options for where to create the static site: your local directory, Amazon Web Services, Netlifly, or Zip file.
The options in this panel will vary depending on the deployment method chosen. Again, the Deployment tab contains brief explanations of each option, with more detailed explanations available in the ‘Deployment Settings’ section of the user documentation.
9. Configure the ‘Advanced’ settings
The ‘Advanced’ tab allows you to refine how Staatic works. It includes options like logging (for troubleshooting purposes,) HTTP timeout and delay settings, etc.
In this panel, you will need to add the HTTP Authentication details, assuming you took the developer’s advice and set up HTTP basic authentication to prevent public access to your WordPress site.
Before doing anything with the advanced settings, I strongly suggest you read the ‘Advanced Settings’ section of the user documentation
10. Create your new static site
Once you have made all your configurations in the Build, Deployment, and Advanced tabs, all you need to do is click ‘Staatic’ in the very top bar of your WordPress admin panel and choose ‘Publish’ from the dropdown:
After a few moments, the new static site is created, and a Publication Summary will appear:
And here is the static site as published:
Staatic Premium Plans
The free version of Staatic includes plenty of great features that will be sufficient for many users. However, the Premium plans bring considerably more versatility to the table, including:
- Forms integration – removes the need to find external form handling solutions
- Search integration – all posts and pages are kept indexed and are searchable using a neatly integrated search widget
- Quick publications – Publishes only the changes made, thereby speeding up publication times
- Scheduled publications – you can publish your WordPress site automatically based on a predefined schedule or event.
- Extensive API – allows those of you with enough coding knowledge to add your own custom features
Currently, Self-hosted plans cost €9 per month for the Starter package, which covers one website, and €29 per month for the Business package, which covers up to three sites and includes multiple team members, priority support, and a 99.95% guaranteed uptime service level agreement (SLA).
Cloud-hosted plans cost €19 per month for Starter and €69 for Business.
If you need unlimited sites, self and cloud-hosted Enterprise plans are also available, the price of which requires a discussion directly with Staatic’s sales team.
A 14-day free trial of the premium plans is also available, and refreshingly, you don’t need a credit card to avail of that.
Get Staatic Premium Get Staatic Free
Staatic Pros and Cons
As with all plugins and software, Staatic has both good and bad points:
- The free version contains sufficient features for many applications
- Premium plans are good value and include many useful extra features
- Once configured, you can create blisteringly fast static sites with a single click
- Comprehensive documentation
- While the documentation is good, it could benefit from the addition of some visual content, such as screenshots
- Total beginners may struggle with some of the setup, which involves working in the web server or hosting control panel
- Community support is limited as Staatic is still relatively new to the market
The Final Verdict
Following the sudden demise of WP2Static, Staatic’s static site generator has come at precisely the right time to offer a viable alternative. The availability of a fully-fledged free version is good news for people wanting to dabble with generating static versions of their WordPress sites. At the same time, the premium plans are ideal for those craving more functionality at a sensible price.
So, if you want to generate a super-fast static version of your WordPress site, the Staatic plugin checks all the right boxes.
66 thoughts on “How To Generate a Static Site From WordPress Using Staatic”
Very interesting information! Perfect just what I was looking for! My site: Okbet game online
Chem, 1988, 53, 1900 1903; Grimm, et al buy zithromax online no prescription
buy cialis canada pharmacy cialis ciprofloxacine posologie injectable There were concerns about a repeat of last year s long absence after his limping first round loss at Wimbledon, but Nadal seems to be gearing up to return at the Masters Series in Montreal as planned
New Water- Intensive Equipment. doxycycline allergy
Figure 3 The expression of Bcl 2 and Annexin V, data are representative of three independent experiments viagra heart attack We concluded that long term treatment with doxycycline, through the inhibition of MMP 2 and 9, is more effective than atenolol in preventing TAA in Marfan syndrome by preserving elastic fiber integrity, normalizing vasomotor function, and reducing transforming growth factor ОІ activation
Isaiah ICbNoYZWQWVKLfDEZI 5 20 2022 what is lasix 3e S3e levels in MCF 7 TamR and T47D TamR cells compared with their parental cells respectively
N desmethyltamoxifen hydrochloride, resulting from the CYP3A4 5 mediated catalysis of tamoxifen, is the major primary quantitative metabolite of tamoxifen 3 buy cialis online prescription
cialis online ordering Long term safety and efficacy of donepezil in patients with severe Alzheimer s disease results from a 52 week, open label, multicenter, extension study in Japan
To learn more and register visit www buy cialis 5mg Again thank you for making my day
buy cialis daily online ayurslim minoxidil lotion price in pakistan The major U
donde comprar priligy mexico However, there was a similar risk with calcium channel blockers adjusted odds ratio 1
ivermectin tablet online purchase potassium buy salbutamol inhaler online uk baikal pharmacy
Zhou Z, Qiao JX, Shetty A, Wu G, Huang Y, Davidson NE, Wan Y can i buy cialis without a prescription
Although any of these tests can confirm psittacosis, false negatives are possible, so a combination of clinical and laboratory tests is recommended before giving the bird a clean bill of health best cialis online Recent research shows that it can occur at any stage
Studies also have found ginseng supports liver function and one preliminary study suggests that American ginseng Panax quinquefolius, in combination with ginkgo Ginkgo biloba, may help treat ADHD ivermectin for scabies
cialis tadalafil These metabolites are the N glucuronide conjugate, 6 hydroxy memantine, and 1 nitroso deaminated memantine, which show minimal NMDA receptor antagonist activity Label
The US wastes billions of US man hours in unproductive work achat stromectol New York, NY Springer; 2010
citalopram yasminelle diario cuando hace efecto Some investors expect a Summers led Fed would adopt a morehawkish monetary policy stance than under current incumbent BenBernanke, who is close to starting to scale back the massive Fedasset purchases he has shepherded generic cialis vs cialis CTSO mRNA and protein were higher in LCLs homozygous for the variant genotype as compared with LCLs homozygous for the WT genotype p
generic cialis online pharmacy IVM could be offered to women with PCOS in assisted reproduction units with sufficient expertise
cialis from india If a solid scrotal mass is identified by examination or ultrasound US that raises concern for testicular neoplasm, serum alpha fetoprotein AFP, beta human chorionic gonadotropin hCG, and lactate dehydrogenase LDH should be obtained by the primary physician or the urologic consultant
Cleveland IkspehKwHvmyVBZYdx 6 20 2022 priligy uk Chen FP, Chen TJ, Kung YY, et al
Table 4 reports the frequency of signs and symptoms in all hypertensive crises, urgencies, and emergencies; headache, epistaxis, psychomotor agitation, and arrhythmia were more frequent in urgencies than emergencies P P P P non prescription cialis online pharmacy
After finishing these annoying things, Zhao Ling slowly walked towards them chad ochocinco viagra
PubMed 8412498 how to lose weight on tamoxifen We investigated this question using conditional JAK2 V617F knock in mice with constitutive and inducible expression of JAK2 V617F in hematopoietic cells, which develop a polycythemia vera PV like disorder evolving into myelofibrosis
buy cialis online in usa The frequency of this form of hepatotoxicity ranges widely, from less than 1 to as high as 50 to 70 of patients, depending upon the medication and the frequency of monitoring for liver enzyme abnormalities
propecia shampoo Doctors have patients who are sick now
I m wondering about hair growth doxycycline and milk
Kevin heard from the beginning to the end, and finally a smile appeared on his face can i buy cialis without a prescription TV personality and author Bob Arnot, M
Stage IIIC breast cancer viagra discount
Book your first appointment on our calendar below buy cialis online The lumps are small after all
stromectol 3 mg dosage Australian Journal of Biological Science 24, 1 5
cialis buy It includes weakness, high blood pressure, nausea, dizziness, and stroke
Overall, tolvaptan was well tolerated during the 24 week treatment period priligy review members The most likely signs and symptoms to be expected with overdosage are dehydration and electrolyte imbalance
lasix for pulmonary edema Propranolol 160 mg day In patients treated with large doses of propranolol 160 mg day, T3 and T4 levels change, TSH levels remain normal and patients are clinically euthyroid
67 Appreciating the importance of maintaining an exciting sport, the industry cannot resist or make excuses for changes that would make the horses undoubtedly safer zithromax for pneumonia Antigens can also be brought to draining lymph nodes by subscapular macrophages to the B cell zone
real cialis online No drug interactions were found between minerals and or antioxidants and conventional chemotherapeutic agents
clomid for women Ashby J, Tinwell H, Soames A, Foster J
For additional information, view current CDC guidance on coadministration of COVID 19 vaccines and watch the NFID animated video, Maintaining Your Health Isn t Much Different Than Maintaining Your Car cialis online
buy cialis and viagra online Gene Transfer Vectors For Mammalian Cells J
I’ve been searching for hours on this topic and finally found your post. baccaratsite, I have read your post and I am very impressed. We prefer your opinion and will visit this site frequently to refer to your opinion. When would you like to visit my site?
Гў I just have to prepare for that and be ready for that situation best place to buy cialis online reviews Flow cytometry data of the kinetics of ERLBD DD
BrГјggemann None cialis no prescription
stromectol sales Forced IL 17 overexpression dramatically accelerates PanIN initiation and progression, while inhibition of IL 17 signaling using genetic or pharmacologic techniques effectively prevents PanIN formation
Pretty much all of your cellular communications revolve around sodium and potassium, including muscle contractions and action potentials lasix 80 mg
Nogo B receptor NgBR is highly buy canadian finasteride 1 mg
I like the way I ve always been and I don t want to have these feelings at this point in my life buy nolvadex online
Identification and diversity of multiresistant Corynebacterium striatum clinical isolates by MALDI TOF mass spectrometry and by a multigene sequencing approach levitra generique danger
It’s really great. Thank you for providing a quality article. There is something you might be interested in. Do you know baccaratsite ? If you have more questions, please come to my site and check it out!
tamoxifen brand name 2010 Sep 10; 28 26 4074 80
buy cialis viagra Using many studies from peer reviewed medical journals, Dr
A recent study of 62 patients with mixed indications suggests a PSA cutoff of 6 ng mL for previously treated patients, lower than that previously suggested for a bone scan 42 buy accutane from legal chemist
best price for generic cialis Eighty- Five percent
1988; Finlayson and Laing 1998; Blanch et al soft tab cialis Your diabetes medication may need to be reduced
Available risk stratification models for in hospital mortality in patients hospitalized with HF have limitations where to buy clomiphene citrate The injurious effects and limitations of conventional ventilation have led to the development of a number of alternative modes of ventilation
To determine the nature of the interaction between RAD001 and letrozole or 4 OH tamoxifen, combination studies were performed by using Chou and Talalay s constant ratio combination design and quantified by using Calcusyn software BIOSOFT, Cambridge, UK 30 lasix 500 mg price Lifestyle modification such as the Mediterranean diet, exercise, and quitting smoking are the preferred treatment of metabolic syndrome
8 mg mL of neomycin geneticin, Invitrogen emla cream and priligy tablets Jewell BsmNmKuXpjmLyRL 6 27 2022
We were fighting, trying to make it to the playoffs, Гў best cialis online 5 mm Gore Tex W
As You Like It Eugene buying cialis generic Saliba R, et al
Karakosta P, Alegakis D, Georgiou V, Roumeliotaki T, Fthenou E, Vassilaki M, Boumpas D, Castanas E, Kogevinas M, Chatzi L cialis 20mg Abdominal ultrasonography is necessary to evaluate the patency of the portal venous system and to rule out hepatocellular carcinoma, and upper gastrointestinal endoscopy is recommended for evaluation of the presence of esophageal or gastric varices
1750 112th Avenue NE Suite C 424 Bellevue, WA 98004 United States buy clomid for men online orphenadrine and marijuana both increase sedation
Sotelo 2014 cheap lasix online
Moreover, every time this disk talisman Supreme God lasix Deutschland
cialis daily Gerbils were used to develop the fecal antigen test for giardiasis Moss et al
I wrote as though Mr brand cialis online
36 hour cialis online 25 w w Cloth; cream; kit Topical Solution drops Ophthalmic Tablet, multilayer, extended release Oral Syrup Oral 25 mg Solution Nasal; Respiratory inhalation 2 mg Syrup Oral 100 mg 5ml Cream Rectal Kit; solution Oral Kit; powder, for solution Oral Tablet Oral 750 mg 1 Ointment Topical Spray Nasal 1 g 100mL Kit; tablet, coated Oral Kit; tablet; tablet, film coated Oral Tablet Oral 12
No other out of patent drug offers anywhere like the same benefit, says Elwood cheapest propecia uk what I have read is that it isnt really that hard to get your body to hyperovulate especially if you have no issues ovulating on your own, the hard part is getting both eggs fertilized and implanted, several people might hyperovulate but only one egg fertilizes and implants, or one egg quality isnt very good so they both implant and with early u s show your pregnant with twins and then m c one most the time its absorb back into the body with no bleeding and next u s there is just one aka vanishing twin