RSS
 

TechTip: Redirecting directories in cPanel & WordPress [Heavy Stuff]

26 Aug

This is a bit for my own reference and because I couldn’t find a useful link on this, so I hope that this page provides information that some would find useful. Apologies to my regular readers who may think this is a bit too ‘deep’.

Recently I changed all the Permalinks in a WordPress blog, and shuffled some things around. This resulted in a lot of 404 messages and file not found results for regular readers, or some coming from other links and search engines. So for some really important stuff I decided to put some permanent redirects in. However when I tried to redirect to the new permalink that WordPress provided, I was getting some weird error messages, so I sought an alternative.

Redirecting folders to WordPress Posts

This was a little easier than the next one, as WordPress 3.0 and higher helps you out by providing you with a shortcut URL.

For example, after saving the draft of this post, you can see under the title bar there is a button called “Get Shortlink”:

If you click on that button, you get a link like this:

So now I copied that URL to my clipboard and then went to my host’s cPanel.

I then go to the ‘redirects’ item (which you can find easily by using the new search option for cPanel):

Then I just fill in the directory that I want to set up the permanent redirection for (eg. http://myblog.ozlady.com/some_directory redirects to http://myblog.ozlady.com/?p=1999) – see in the screen shot below.

Click the ‘Add’ button, and you’re done!

Redirecting folders to WordPress Pages

This one is almost identical to the redirect for WordPress posts, however for WordPress pages, I found it a little trickier to find the shortcut URL.

To do this you will need to find the Page number. To do this, go to the pages listing and ‘Edit’ the page that you want to redirect to.

In the URL at the top of the ‘Edit Page’ page you will see something link this:

Note down the number next to “post=” (in the instance above it is 166.

Now you will need to use that number and insert it in a pages URL which is slightly different from the one we used in the posts example.

http://myblog.ozlady.com/?page_id=7

Notice that we use ?page_id= instead of ?p=

This can then be entered in the cPanel Redirects page as follows:

Click on ‘Add’, and you now have a redirect to a WordPress page.

If you know of an easier way to do this, please let me know, however in my case I found that the permalinks provided by WordPress that would appear in the address bar were kicking me with error messages, and this was almost fool-proof.

Back to regular programming now!

 

How do I care for my pet in Singapore? [Living in Singapore]

20 Aug

Tiga on the beer barrelI was recently asked by the wife of DH’s colleague about pet care in Singapore. She raised a few needs:

  • Veterinary Medical Care – for vaccinations and illness
  • Pet Transportation – if you don’t have a car in Singapore, normal taxis often won’t take your beloved baby, which can be difficult when you do need to go to the vet
  • Pet Sitting – living in Singapore makes travel too much of a temptation to resist, but we still need to be responsible pet owners
  • Pet Grooming – I have cats, so that usually involves a battle with scratching in the bathtub where I end up with the scratches, and the cats end up licking themselves dry. Dogs, however, often benefit from a good groom.

I use the services below. If you know of any good additions to this, please add them in the comments below.


Veterinary Medical Care – A Doc for your Fur Baby
I have been using this vet for 10 years now, and they are listed with the Singapore Veterinary Association (SVA).

Mount Pleasant Animal Medical Cent
Blk 105, Clementi St 12, #01-18/20 S120105
T: 67768858 | F: 67761678

I use the one in the west (address above) because that is close to where I am, however they have other branches, and they all receive pretty good reviews. If you visit the SVA site link above, it will have the other locations so that you can see one that is perhaps closer to you.

This vet also provides a number of services including preparing pets for moving country, dealing with deceased pets, spaying, etc. They are pleasant, helpful, and don’t treat me like an idiot. They have information sheets on a lot of things – we had a mite infestation and they gave me a sheet with instructions on how to go through the home and clean everything out. Very professional.

Pet Transportation – Pet Taxi Services

If you don’t have a car, then my sitter (Rick – see next bit) has a pet taxi service to get your pet to and from the vet: See his pet taxi services on his website.

Pet Sitting

The sitter I use is Rick Tan and he runs Pet Mobile. His mobile number is 9099 8511.

Usually what he will do is set up an appointment to come and meet your pet, find out where the food, toilet and any play things are kept (and anything else necessary for your baby’s care), learn what walking schedules are, etc. Rick usually offers to do some basic “while I’m away” type chores (eg. Please throw the newspaper delivered to the front door, please water these plants). If it’s just a couple of chores he’ll usually do that as part of his visit.

You can either give him a key to keep, or you can arrange key swapping on an as-needed basis. He says that some clients arrange for him to collect the key before they leave on their holiday/trip, and then he leaves it in the letterbox after his final visit.

Rick has a full list of rates for pet sitting on his website.

Pet Grooming

As stated above, grooming is usually a battle at our place with our three cats, however if you want to outsource this, Pet Mobile does Grooming Services, which include transportation to and from your home.

Check out the pet grooming services here.

 

Travelling to Cambodia from Singapore [Living in Singapore]

17 Aug

Travelling to Cambodia from Singapore is just too easy on a budget. Recently I have been planning a trip for ourselves and my brother and his family. We went in 2008 and loved it so I wanted to share the wonders of Siem Reap and Angkor Wat with them.

Steph in Siem Reap

Steph climbing around Angkor Thom

I’ve listed some of the resources that I’ve used below.

Flights

Jetstar – cheap and good. Their service runs in a loop: Singapore >> Siem Reap >> Phnom Penh >> Singapore. We’re going to go Singapore to Siem Reap and spend a few days there, then either take a bus or a boat to Phnom Penh, then jump on the Jetstar flight from Phnom Penh to Singapore.

Flights for the above trip had to be booked as two separate legs and cost as follows:

  • Singapore >> Siem Reap – SG130-150 per head for the Jet Saver rate
  • Phnom Penh >> Singapore – USD50-USD60 per head for the Jet Saver rate (the closer to the travel date, the higher the price)

The Jet Saver rate includes 20kg of checked-in luggage.

Accommodation

I use Hotel Club to book accommodation regionally – membership is free and you collect points which you can then use for discounts for your next stay. Those points translate into real dollar savings.

Siem Reap

Last time we stayed, we were treating ourselves a little, and stayed in a 4-star – Steung Siemreap Hotel. Very nice and located in the heart of town.

This time we are staying in Motherhome Guest House, and if their email correspondence is any indication of their service, this will be a memorable trip.

Phnom Penh

I’ve used Hotel Club again, and we’ve booked Royal Inn Phnom Penh. Let’s see how that goes. I’ll update after our trip!

Visas

Most people will be able to get a visa on arrival, but seeing as the Jetstar flight from Singapore leaves at 6am, and lands around 7-ish, I prefer to pay the US$5 more and have the visa pre-approved. I recall the queue at the visa counter when I arrived last time, and don’t wish to be waiting in line at 7 o’clock in the morning.

The Cambodian government runs a website for e-visa applications, and for those that don’t trust the internet, I had a payment glitch when processing this time – my card statement said I had paid, but their website hadn’t recorded the payment. Easy to fix – I just emailed them a copy of the email receipt that I received and they tracked it down and fixed it.

The visa is valid for 3 months from date of issue, so apply well in advance to avoid any dramas. You can pay a little extra and get express processing if you need.

 

What is the price of rice in China? [Wolfram Alpha let me down]

08 Aug

Wolfram Alpha couldn’t tell me!

Sure – it could tell me how much they consume, but upon purchasing this app it couldn’t answer the first question I typed in.

Bummer.

It did, however, identify the dog that I was enquiring about! LoL

 
 

Java – yes you can remove all those Java installations [What a pain in the neck]

29 Jul

I support a small office of Windows PCs, and I have told staff they need to update, update, update or suffer virus and spyware infections. So like good little chilluns who do not want to incur my wrath, they do!!

Unfortunately I’ve learned that over the course of two revisions of Java 5 & 6, this means that some users have 8-10 installations of Java on their computers. Check it yourself – go to Control Panel >> Add/Remove Programs and see.

For one user, this was 1.2 Gb of space! Seems a little weird that these are not uninstalled on upgrade.

I checked the Java.com website and they even have a FAQ to answer it:

I’m not sure which was more frustrating – sitting there uninstalling 8 installations of Java that the user diligently updated, or waiting for 3 months worth of virus definitions to download (Java updates are apparently more important than anti-virus updates).

 

Australia’s Seinfeld Election – All About Nothing [Disappointing Australia]

27 Jul

A Bloomberg writing on Australia’s election was published in the Today paper in Singapore.

I’ve included a copy of it below – you can click on the image iteself to read the larger version, but I wanted to include a key paragraph here.

“The nation’s failing infrastructure, overstretched education system and increasingly polarised economy need addressing, and now. Instead the election campaign is being driven by focus-group research and populism. So lacklustre is the discourse that politicians are competing with Masterchef.”

Published in the Today newspaper - Singapore 27.Jul.2010

And yes, the election debate played second fiddle to Masterchef. Probably because most have determined that it is a soup of weak ingredients, that will pander to the public’s taste, no matter if the resulting leadership leads the economy into a shadow of its former self.

Unfortunately, I agree with Charles Waterstreet:

“This country votes with its stomach. Bellyaching is the national pastime.”

We Australians are acting like spoilt children, where we insist that the government must protect us and take action, however we throw tantrums when the medicine or consequences are delivered – running a country takes money, and we should appoint leaders who know how to run a country. The bloke down the pub may bitch about what he read in the newspapers or on the internet, but WTF does he know about running a country. And now our so-called leaders pander to these focus groups???

Australia’s business community is just as guilty – consider the backlash over mining superprofit tax, where businesses can arrange for leaders to be ousted. Yes – let’s increase GST and take the money from the guy earning $400 per week. Assholes.

Our first female prime minister is pandering to the popular vote, and instead of being a role model that women can look up to, her wallowing in the mud with Mr Dick Sticker (aka Tony Abbot) is resulting in the situation as described in the Bloomberg article (image above):

“Since this election is about nothing, lots of focus is on Ms Gillard’s lifestyle. Is a woman perceived to put career before family a good role model, journalists ask. It’s irrelevant to her leadership skills – not to mention unfair”

Sorry Julia (I’m an Aussie – we call our polly’s by their first names), but if you’re not going to stand up and be counted, then perhaps you don’t have the leadership skills. Although this is not one-sided – Mr Dick Sticker is, in my opinion, is as weak and populist as she is, and perhaps that is not surprising… John Howard spending a decade with his head up the US’ arse has probably blinded the Liberal party now that their head is out and they are looking at the sunshine for the first time in ages – and realising that there is not much of it about. But then again, perhaps the population is getting the leaders it asks for?

We can’t really point fingers at government and industry without looking in the mirror ourselves. And honestly, which intelligent, sensible, sensitive and capable person do you know who would volunteer to put up with the crap that the media, heads of industry, other government personnel, and the population in general dishes out?

I love Australia, but at the moment, it’s democracy looks like a high school election of the most popular prefect and school captain. Not a choice of who is seriously capable of leading our fabulous country.

 
No Comments

Posted in General

 

Another win for Facebook – crim adds friends while on the lam!

20 Jul

ROFL

 
No Comments

Posted in General

 

7 Great Things [Why you should read this blog]

19 Jul

Over at the Problogger site, there is a challenge to post 7 links fitting in with the categories below. This is a great idea, but it’s also a reason for me to post:

7 Great Reasons Why You Should Read My Blog!

Steph & Stammy

:-)

So here goes:

  1. My first post on this version of my blog was about our (then) new cat – Stammy. We had lost Misty, our old cat. One of our neighbours said that they saw her stolen. I just hope that someone is looking after her. But then this fellow followed us home and adopted us. Seems to be a trend with our cats.
  2. A post I enjoyed writing the most. This one is a tough one… I’ve been blogging since 2004!  As of writing this page, that’s more than 6 years and 1000+ posts – and that’s just this version of my blog. I used to have other posts, but they corrupted with an upgrade. As this is a blog with a hidden section for family and friends, I have some personal posts that were really fun, however my all time favourite public post is the page on my Thermomix cooking recipes and results. I am really enjoying getting back into cooking and this page makes me happy whenever I update it.
  3. A post which had a great discussion. This is a personal blog, so it’s more passive than most, but I did appreciate the feedback from a friend on this post on Getting Serious About Uncluttering [Inspiration and References].
  4. A post on someone else’s blog that you wish I’d written. I love La Tartine Gourmande – I wish my photography and cooking was at this level. At least it gives me something to aim for. One of my favourite posts is a fairly recent one on Spring – I think it’s because of the photography as well as the writing. I love the conversational style, where Bea talks about her life, and her passions, and lets us glimpse at the person she is. I have trouble doing this.
  5. My most helpful post is probably a recent post on ingredients to be found in Singapore for baking bread – where do I start?. I have found that living in Singapore and reading blogs and books written in Australia and the US can result in a mismatch between what people recommend, and what I would actually buy to achieve those great recipe results. I was so afraid to try to even start baking bread, and then discovered how easy it is. I hope others will try as well.
  6. A post with a title that I am proud of. That would have to be The Best Bread I’ve Ever Baked, and you can Bake it Too!! [Crouching Tiger, Hidden Bacon]. I recently had to adjust my perspective on titles and headlines after reading a series from ProBlogger – I discovered that the headlines on this blog might be funny or meaningful to me, but they might be obscure to others, and if I want people to be able to find my recipes or tech tips, or information on life in Singapore, then I need to let them know what they’re getting right from the headline.
  7. A post that I wish more people had read. The post that falls under this category is a double-hitter in this area as I feel that this is important information - Password Security [Access all Areas]. I use my blog to educate people and pass on daily information that I find, and I get frustrated when people are ignorant of the web and what can happen on it, and don’t get educated about it. The net is not a bad ‘place’ but it’s like any recreation – it’s safer if you know the rules. Perhaps my title could use some work on this.
 
1 Comment

Posted in General

 

Lazy Saturday [Storms and Stories]

17 Jul

It’s a lazy Saturday afternoon, before we commence the late afternoon run around for music classes. SD13 is downloading games on her iPod touch (which I’ll audit later), and SS15 is watching Top Gear on YouTube with his headphones on.

DH is snoozing, as too is his sister, mother, and father.

Woke up this morning to a violent storm, and the news that there were flash floods around the island. I guess that makes this song totally justified!! :-)

Off to a 50th tonight – our friends turning 50 reminds me of my own mortality.

Anyway, the house is starting to wake up, and it’s almost time to play Mum’s Taxi.

Enjoy your weekend.

 
No Comments

Posted in General

 

Not what I expected : iPhone App Search Result

16 Jul

Not the response I expected. :-|