Hosting a static website in wordpress

Welcome everyone, here’s a quick guide which will allow us to create a static website using WordPress in just under 5 minutes.

WordPress is a very powerful, light-weight CMS engine, which can serve many purposes. I present an idea to host a Static Website using the WordPress engine with minimal efforts. I’m not an expert in WordPress, and I’ve just started using it a week back, so your suggestions are most welcome…

First of all, we will have to select one of the themes that matches the most to the design of the website we are targeting for. Don’t worry about the color-scheme or fonts those themes are using, we can customize that later. There are many free and paid themes available, which we can browse and select.

The first step would be to change the default landing page of WordPress to show a static page, instead of the dynamic Posts listing page. This can be done in Settings->Reading->Front page displays Option. Select a static page on the second radio button.

Once we select the basic theme that we need for our website, we will go and create a Menu in WordPress. This can be done by clicking on Menu link under Appearance side menu option in WordPress admin. Make sure to select this menu as Primary menu on the left hand side drop down. And also check the “Automatically add new top-level pages” checkbox. This will ensure that the site structure and menu will be created on the fly, as and when we are creating the pages.

Now we will create all the static pages, that our website may need. This can be done by clicking on Add Pages under Pages menu in WordPress sidemenu bar. While doing this, we will also create the site structure (i.e. sitemap), this can be done by choosing the Parent Page drop down on the right hand side. By doing this, we are ensuring that all pages and sub pages are organized properly in hierarchical order.

After we are done with the page creation, we can preview the website. If at this moment, we want to change the order of menu/sub-menu items, we can do it in the Menu sidemenu option in WordPress Admin.

Now its time to put a final touch to our website. You may notice that wordpress may be giving a lot of options on the page, e.g. search box, comments box, etc. We may not want these to appear in our web-site. For this, you customize the style.css and at the end, override all the sections which you don’t want to be displayed by adding display:none style attribute.

You may also want to customize the color scheme, fonts, etc on you web site. All this can be done inside the style.css file as we had mentioned earlier.

After all this is done, our website is ready to be hosted online. At this stage, we can bring in the content writers who will fill in the contents on the website. We may also bring in plugins, like share this, image gallery, news, etc, which will enhance the dynamism and popularity of our website.

Since, our website is a static website, we no longer need the PHP engine or Database to be burdened to serve the contents, A final step to all this, for performance and security reasons, would be to install the SuperCache plugin. This plugin converts all our pages into static HTML files.

Voilà our website is up and running…

Share this nice post:

18 thoughts on “Hosting a static website in wordpress

  1. Many thanks for taking this chance to speak about this, Personally i think strongly regarding it and I make use of learning about this subject. When possible, as you gain data, please update this website with new information. I’ve found it extremely useful.

  2. Youre so cool! I dont suppose I’ve read anything like this before. So nice to find somebody with some original thoughts on this subject. Really thank you for starting this up. This website is something that is needed on the web, someone with a little originality. Useful job for bringing something new to the internet!

Comments are closed.