Site maintenance and how to manage changing URLs

After my recent rants about Oracle changing URLs and breaking stuff, I’ve actually done some changes myself. 🙂

From time to time change is forced on internet content producers. This might be because of platform changes, or changes in the way search engines behave. The important thing is how you handle that change.

Followers of the blog will know I recently made my website responsive. That happened in part because Google recently announced they would downgrade the rankings of sites that weren’t “mobile friendly” and “responsive”. The search ranking were only meant to affect mobile searches. What they didn’t say, but many people including myself believe, is that these rankings actually affect normal desktop-based searches as well. When this Google announcement was made, I noticed a drop in my hit rate. Once I changed the site to be responsive, the hit rate went up again somewhat. When I recently corrected about 100 of the remaining non-responsive articles, the hit rate went up again. It could be conincidence, but it certainly seems there was a bleed-over of this ranking change into the desktop side of things, which represents over 95% of my traffic. Those changes affected content, but not the URLs to the content.

Since I’m revisiting almost every article to fix broken links to Oracle docs, I thought I would take the opportunity to do some additional site maintenance, specifically in the following two areas.

  • HTTPS : About 9 months ago I got a certificate for the website to allow it to be accessed using HTTPS. This was also influenced by a Google decision that they would improve the ranking of content that was available over HTTPS, as well as HTTP. It was part of their “HTTPS Everywhere” campaign. Even though the site could handle HTTPS, I did not make it the default. As of a couple of days ago, you may have noticed all pages on oracle-base.com are now delivered over HTTPS. Unfortunately, this represents a URL change as far as the internet is concerned, so it means lots of broken links, unless you handle it properly. More about that later.
  • Removal of “.php” extension : You will notice many blogs and websites don’t display a file extension of pages, or display a generic “.htm” or “.html” extension. It’s pretty easy to do this using query rewrites in Apache or a “.htaccess” file. For a while, the site could be accessed with or without the “.php” extension. Now it is removed by default. The nice thing about this is you can change the underlying technology at any time, without having to support an inconsistent file extension. Once again, this represents a URL change.

So how do you manage this change without pissing off “the internet”?

The answer is rewrites and redirects done in real web pages, Apache config or “.htaccess” files. Essentially, you are supporting the old URL and redirecting the browser to the new URL, using a 301 redirect, so all search engines know the content has moved location and can be re-indexed in that new location. Over time, all the links from Google will go directly to the new URL.

So that means you can remove the redirects after a while right? NO! People will have links from their website to the old URLs forever. People will have bookmarks in their browsers forever. If you are going to change a URL, the old URL must be maintained forever.

Over the years I’ve made lots of structural changes to the site.

  • When my website started it was written in Active Server Pages, using a “.asp” extension.
  • After a while I switched to PHP, using a “.php” extension.
  • I used to name pages using initcap. A couple of years ago I switched to lower case and “-” separated names.
  • About 9 months ago I removed the “www.” because it seemed pointless in this day and age.
  • I’ve just swicthed to HTTPS.
  • I’ve just removed the “.php” extension.

If we look at a really old article, probably about 15 years old, we will see the history of these changes in the following URLs.

So all those structural changes over the last 15 years should have resulted in zero broken links, zero pissed off content producers who link to my content and zero uninformed search engines.

Now I’m not perfect, so if anyone finds something that is broken, I will fix it, assuming it’s not your bad typing or copy/pasting. 🙂

Cheers

Tim…

PS. Any structural changes, regardless of how well you do your 301 redirects, can result in lower search rankings, so it should not be done on a whim if you really care about hitting that top spot on Google. This is my hobby, so I will do whatever I want. 🙂

Birmingham City University (BCU) Talk #3

On Friday I took a day off work to pop over to do my 3rd talk at Birmingham City University (BCU). This one was rather unfamiliar territory for me, because it was directed at the staff and was focussed on student employability…

During a previous discussion with Stuart Hutchison from BCU, he suggested I take the “Community” session I presented at the UKOUG Next Gen event, add in some information about graduate recruitment and Bob’s your uncle. Sounds fine, but what do I know about graduate employment? It’s 20+ years since I left university…

Luckily, the online community came to the rescue. I sent a bunch of emails out to friends, small companies and huge corporate types. Over the years I’ve built up a network of contacts all over the world who were happy to help me out directly, or put me in touch with people in their organisation that could. I’ve already sent out thank you emails, but I’d just like to take the opportunity to say a big thank you once again to everyone that helped me out!

As the session started, people introduced themselves and it became apparent that everyone in the room (except me) was in some way linked to student employment and career development. Needless to say, I suddenly felt completely out of my depth, incredibly nervous and needed a change of underwear! 🙂 I introduced myself and made it very clear I was definitely not an expert in this subject, then proceeded to present the information I had gathered. It was meant to be about 60 minutes, but there was a lot of audience participation, so it ended up being more like 90 minutes. Despite my initial nerves, it went really well and was really good fun.

After the session I chatted with Professor Nick Morton, the Associate Dean (Student Experience) at BCU, and he was keen to get me involved in some of the other stuff they are doing, which also sounds like fun. After that I spent quite a long time chatting with Stuart. I will of course keep doing the technical stuff with his students.

I guess some of you may be wondering about my motivation for doing this stuff, especially the non-technical presentations. This isn’t a career move. I’m not being paid to do this. It’s good to try something different and stretch yourself. I’m not suggesting that technical presentations are easy, because they are not, but doing things like this take you out of your comfort zone and teach you a lot about the craft of presenting. I definitely feel this is making me a better presenter, which is a great confidence builder.

Cheers

Tim…

WordPress 4.2.2

Another day, another WordPress release. I woke up this morning to see WordPress 4.2.2 has arrived. It’s common after a big release to get a bunch of quick fixes, so I expect to see a number of these over the next few weeks.

Downloads and changelog in the usual places, but you will probably find your auto-update has already installed it for you. 🙂

Cheers

Tim…

 

WordPress 4.2 “Powell” (and 4.1.3)

Overnight I got an auto-upgrade to WordPress 4.1.3 maintenance release and a notice telling me WordPress 4.2 “Powell” was released. The downloads are in the usual places, and of course available from the update screen in your blog.

The announcement page has a video explaining the new features, which seem to make it easier to repost other people’s content, where you would normally expect to just tweet a link. Not sure what I feel about this yet!

Happy upgrading.

Cheers

Tim…

Update: WordPress 4.2.1 came out today.

All Change : Responsive and mobile and all that jazz

If you’ve been near oracle-base.com recently you will see things have changed a bit…

The Main Website

For a couple of weeks I’ve been playing with Bootstrap and Font Awesome to make the main body of the website mobile friendly. Last night I got a bit bored so I decided to shift the whole site to the responsive mobile template so it’s a single look and feel regardless of the device.

Less than 5% of my traffic is from mobiles and tablets, so that wasn’t really the motivation for doing this. Over the years I’ve accumulated a whole bunch of crappy code to deal with specific situations and it was getting a little hard to manage the basic framework of the website. The switch to using Bootstrap meant I could effectively throw a whole bunch of my code away, making my life much easier. The main goal has been to keep everything plain and clean and minimize the amount of time I spend on maintenance. That leaves me more time to work on content, which is the important thing. The whole responsive thing was an added bonus.

It’s a work-in-progress. There are still some things to neaten up a little.

  • There are some pages that are “less responsive” than they should be. 🙂
  • I keep tweaking font sizes and colours.
  • I’ve got to sort out the main image in the navigation bar.

Overall, I’m relatively happy with it and it seems to work fine in the browsers I’ve tried (IE, Chrome, Firefox, Opera, Safari) and the mobiles and tablets I’ve tried it on.

The Blog

I switched the blog to the “Twenty Fifteen” theme a few days ago. The old theme was getting a bit long in the tooth and required an ugly plugin to be make it mobile enabled.

I’m not totally happy with the “Twenty Fifteen” theme, but it will do until I find something I prefer. My main criteria is it has to be really plain. 🙂

Comments?

If anyone has any comments or suggestions I would be happy to hear them.

Cheers

Tim…

Updates:

  • Praveen : Mentioned the lack of direct links to the version-specific article pages. I missed them too, so I put them back in for larger browsers. On smaller devices they don’t show as they make the page look messy.
  • Frankly : Noticed the copy/paste was not working correctly. It turned formatted text into a single line and added a site URL on to it. This was down to an incorrect ShareThis.com setting for my sharing buttons. I flipped the switch and copy/paste is working again now.

UltraEdit v22.0

UltraEdit v22.0 has been released. You can see the new features here. For such a mature editor, it’s surprising when something new comes out that makes you take a step back. I think they’ve done just that in this release. The document map shows a miniaturized version of the page, making scrolling through large files really simple.

I’m not sure if this is an idea they kicked from another editor, but this is the first time I’ve seen this and it’s really handy! Hopefully it will get added to the Linux and Mac versions soon.

Cheers

Tim…

Windows 10 : It’s like totally amazing and junk…

I decided I wanted to play with the newly released Spartan browser on Windows 10. Spartan comes with Windows 10 (build 10049), which does not have an ISO download available at the moment. So instead, I downloaded the x64 ISO image of Windows 10 (build 10041) and installed it on VirtualBox.

To get build 10049 you have to switch the Windows Update settings from “Slow” to “Fast”, which gives you access to the latests builds as soon as they are available.

That done, Windows Update will then download build 10049, which is pretty much a full OS download again. Once rebooted, the OS auto-installs for ages, with a few reboots, but when it is done you are left with the latest Windows 10 build.

It boots to the desktop and feels quite similar to Windows 8.1. If you are interested in the latest start menu, here it is.

If I’m honest, I’ve never seen the Windows 8.1 start menu live. The Windows 8 menu was so bad I installed Classic Shell on the Windows 8 machines for my family. I’ve never removed it since the 8.1 upgrade. As a result, I don’t really know if this Windows 10 start menu is new or like the 8.1 menu. I would probably stick with this menu myself, knowing that Classic Shell is always available if it pisses me off. 🙂

Most importantly, THIS IS SPARTA(N)!

Not surprisingly, it’s a just a browser and any site that sticks reasonably close to the standards will work fine.

So that was the fun bit. Now I’ve got to look at what this is going to break. I’m guessing Oracle Forms isn’t going to like it. 🙂

Cheers

Tim…

PS. Alex – By “and junk” I was not implying it is junk. Este Uimitor!

Update: Installed Oracle Database 12c on Windows 10 without any problems. Happy days!

Exit mobile version