Why I haven’t migrated my site to WordPress fully

This is probably something which someone may question at some point so here are the main reasons why I’m not (or currently haven’t) migrated my website into a WordPress or Content Managed Website

 

  1. Entire site needs rebuilding
    1. To migrate my website I’d have to modify a lot of code and go through all the articles again, quite frankly can’t be arsed. Also to have the site how I want it I would need to rebuild all of my website, and given the problem I’ve had moving between hosts, it would break everything meaning I’d have to fix it again and resubmit all site links to Google and generate new sitemaps.
  2. Static HTML suits me for the content I write
    1. Articles I write are DIY guides, I like the fact how they’re laid out within HTML and it’s just nice and simple. No OTT designs, or OTT in general. Just nice simple information which loads quickly what the end user wants
  3. Blogs are more for content which updates regularly
    1. Articles that I write are generally updated / created as and when I have to fix something on my car, I don’t really write very often, unless it’s crap. So doesn’t really suits me
  4. Static HTML is easier for me in terms of placement of pictures
    1. I don’t need to modify the code much, I just put in a simple HTML table, and insert the picture. If I wanted it somewhere specific I could have a little bit of CSS coding into the page. Having it on a WordPress/CMS system makes it annoying as a lot of my articles are full width and I’m yet to find one I like which makes it easier to add pictures and have them placed where I like. Plus uploading pictures is a chore as I have to upload them to a gallery then insert from gallery. Rather than just dump everything into an /images folder and simply hotlink from there
  5. Low server requirements
    1. My website if running on static HTML barely uses any resources. Websites running PHP/MySQL can be resource intensive, whereas a website designed to run nothing but static HTML could potentially hosts thousands/millions of websites on the same server because static HTML is reguarly cached and loads quickly
  6. More secure
    1. Whilst not impossible, it’s generally a lot easier and more secure when using HTML sites, because there is nothing happening in the background for pages to be loaded such as database or PHP requests. Pages are simply served, so it locks down the security a bit better as the hackers would have to be able to modify the direct HTML file itself
  7. Faster backups
    1. This is a bit irrelevant really because I can’t download my backups until I’ve created them, but the larger your site is the longer it takes, having a small website means it’s backed up within minutes, instead of being up to 1 hour on a larger size, HTML compresses very well too for backups which makes it quick to download. Useful if I’m on a low speed connection
  8. Easier to troubleshoot
    1. Whenever I get problems with HTML, it’s fairly easy, it’s displayed on the screen. You either make an error and it doesn’t work, or it works fine. You can make HTML pages look amazingly modern and very stylish by using basic .CSS stylesheets. If you run a site with WordPress or CMS, you have to have MySQL, CSS, PHP and a few other things. Usually a simple change can break your code which gives you hours of headaches. I’ve had to fix my site often so I’m familiar with the layout of it now
  9. Low disk space usage
    1. When my website only has HTML pages. It doesn’t consume much disk space. An average HTML page is around 5KB in size. So adding some pictures (reduced in size / compressed to around 100KB) and basic CSS, I could have an entire website with 100+ pages that only consumed 50-200MB of disk space with very low requirements and would be very responsive. HTML pages also load really quickly, because it’s basically text and nothing else. Nothing requires rendering or any function calls in the background which talk to database. It just has a request and serves it to the end user straight away. Whilst disk and file compression is possible on dynamic sites, putting everything into wordpress just increases the overall size due to the databases and PHP aspect of everything

 

Eventually, when I find something I like the entire site will be migrated. The PROS of having a WordPress or CMS based website outweight the CONS, but for the time being I can’t be arsed.

Until I find something which suits the purposes and how I write my articles I’ll just keep going as needed then eventually change it over when I have it how I like it. Content becomes easier to maintain and increases my score in Google overall, so it will be done for end benefit

Views – 491

Server Migration

Apologies for any downtime caused on this site, I recently decided to change web hosts because quite frankly I’m sick of my old one. I had constant never ending problems and in the end I carried out a Server Migration to a different webhost

As you can tell by this post, the server migration was carried out. Eventually! I had so many problems to sort out and still do. Everything about my old configuration was completely muddled on with by my old host to get it working, as such the server migration wasn’t a straight forward process.

The account restore didn’t work, I had to manually download the databases because they had to be restored. Had to alter the database names, had to manually edit the server names in the configuration files and carry out a db restore. Also had an issue with the .htaccess

I’m happy now, I’ve found a new host, in the name of Tech-Hosts. I love them so much I migrated to them with my personal site as well, highly recommend you check them out

Views – 1048

Broken Theme Layout

A couple of days ago, I had an issue whereby my wordpress had a broken theme layout. Literally any themes I had applied where broken. It appeared that they lost their configuration and what was happening was, instead of the text being on top of the layout of the file. The text was on top and the layout was underneath the file, so basically I had all of the data but the layout was at the bottom of the page under the copyright information.

The broken theme layout, applied to any theme I had applied. I thought I bodged an update or messed up a PHP file without realising. So tried replacing the main root files after a database backup incase it was this. CSS really isn’t my strong point when it comes to websites. Although it was working fine under the dashboard when “customising” the theme (p.s I’m not American – I write it with an S not a Z)

I created a post on the wordpress forums and was helped out by a forum member. The “styling” of my wordpress was infact not being read. They suggested clearing the cache of wordpress

By default wordpress doesn’t have a cache (had to google this to find out), so it was obviously a plugin I was using causing the issue. I think I had more than one cache manager so I just disabled every plugin in my site (not to mention askimet is a hell of a spam guard).

Once I disabled every plugin on the site, the design was being read again. If that didn’t worked I could have done a hard refresh of firefox/chrome and also deleted my temp files / history etc to make sure. I wanted to find out the plugin causing the problem. It was my W3 Total Cache plugin that wasn’t refreshing my database cache. I’ve left it disabled for the moment. I went through every single setting one at a time and re-enabled, disabled them and couldn’t cause the problems to reoccur. So think it could have been a combination of settings. 

I think the setting causing the issue was the CDN ones, because I specified to use localhost to statically serve the files, and think it may not have been refreshing properly.

Just thought I’d chip in to see if this helps anyone else in the future

Views – 1121

How to resolve the wordpress 404 permalink error on a Windows server

If you want to know how to resolve a wordpress 404 permalink error here is a solution when using a Windows based webserver

I’ve been having trouble sometime now with this and wanted to activate it to improve my SEO score aswell as my readibility of my website rather than use the generic option for wordpress

Further information can be found here WORDPRESS PRETTY PERMALINKS

The method used is pretty permalinks when you activate requires 3 things

  • Apache rewrite module to be enable
  • Symlinks and Directory overrides are enabled
  • Permission to the folder
  • Here is the solution used. Before you carry this out I recommend creating a test blog so that if you break it, nothing is affected on your main site. Once you are sure it’s fixed implement the changes to live

    STEP 1
    Open up the apache conf file in a text editor (I prefer Notepad++). The standard Notepad program in Windows can’t handle large file sizes. Notepad++ also displays line numbers, so it’s great for resolving errors quickly that are generated with your config saying error on line ….

    When your apache httpd.conf is open look for the rewrite engine module. You can do this by hitting ctrl+f and then typing “rewrite_module” – this should take you to around line 118. When you find this you should see an entry with the below. You need to delete the # from the start so it reads like the following. This will allow apache to rewrite directories as a module

    rewritemod

    STEP 2
    Activating “Symlinks” and Directory overrides (this allows apache to override .htaccess rules on specific folders if there is a .htaccess file present in this folder. Hit ctrl+f again and this time type in “AllowOverride” – the value you are looking to change is AllowOverride None, change it to All

    If you have virtual hosts they will have their own directory settings in their containers

    allowover

    STEP 3
    To give wordpress access to the .htaccess file to edit it on the fly for you which I definately recommend by the way. Way easier than troubleshooting yourself. You need to make sure the directory is writable. On a linux install it’s just a case of changing the folder permissions to 666. On a Windows installation this generally is already setup. Just don’t screw around with any folders and it’s just a case of putting the .htaccess in there.

    Firstly create a default .htaccess file. Open up your text editor and put in the standard rewrite code for a .htaccess file. You will need to change the directory of your Blog to whatever installation directory you have.

    So if your blog is installed in a directory www/my123 the below would read
    ReWriteBase /my123/ ReWriteRule . /my123/index.php

    htaccess code

    STEP 4
    Once everything is done you should be go for launch. After this, just stop your apache server client and start it again (not restart, I prefer stop > start) and then providing everything goes green your config should be working. Activate your desired permalink setting and then everything should be good for go with your new SEO optimised blog posts.
    pmerlink

    Views – 1885

    DIY – Custom WordPress Template

    There’s one thing that’s been bugging me since I created my site which I’m determined to resolve

    When I created this site, I wanted to have pages at the top of my screen which I could click on them in order to filter all posts in that category by their tag or “base” category

    This is proving rather difficult and annoying. So this will be my DIY attempt at resolving the problem

    I’m currently doing a dev version of this template in order to workaround this problem. I’ll be releasing the code if I get it working to help out others. I’ve tried different functions and plugins which should resolve this, but quite frankly they’re still confusing as shit to get working or they didn’t suit my needs

    I’ve tried wp-postviews and cat + tag filter amongst others

    Views – 790

    Seriously …. WTF with high contrast websites??

    This is more of a real pet peeve then anything else, some people may think they look cool, but they absolutely boil my piss. What is it with people using bright text on dark backgrounds.

    Now only does it severely tire out your eyes it hurts your head trying to read it

    Here’s a site I found… I was reading this page as I’m interested in cracking after a google search. I’m not knocking the site, looks interesting, albeit the choice of background colours pissed me off

    Read this site from start to finish on this link, the flicker back to google. I bet you see lines and probably have a sore head

    CLICK HERE FOR A HEADACHE!

    Remember people, consider your readers too!!!!!!!

     

    Update : Just checked the site and the author appears to have changed the scheme. Thank you 🙂

    Views – 810

    Resolving WordPress “page cannot be found” messages

    OK, came across a really stupid but interesting problem tonight.

    When I was trying to view “older posts” via my wordpress main page I would always receive a message that the server couldn’t find /BLog/Blog on the server as if it didn’t exist.

    I did a quick bit of googling as similar problems to this exist already, turns out my typo on the URL address of the site was causing it to redirect URLs

    When I was typing the site address in the preferences I specified the blog address as BLog using a capital L aswell, this resulted in screwed up addressing

    To resolve, just changed it to a lowercase l now all my blog works properly again!

    Views – 827