Category: Tech Help
-
Optimise your images using Cloudflare Polish
Today I got the chance to try out a Cloudflare product, called “Polish“, and I must say it’s not bad at all. What does Polish do? Dynamic image compression for both Lossless and Lossy mechanisms – Like a lot of tools out there, Polish offers dynamic compression of images using either Lossless or Lossy mechanisms; Lossless…
-
SEO – When your webpage suddenly disappears on Google SERP
Today, I noticed one of the pages in my client’s site disappeared from the Google SERP. It was on the 2nd page of Google for a specific search keyword, but it can no longer be found anywhere in the SERP at all. When I do the trick of searching for “site:{DOMAIN_URL_HERE}”, all other pages in…
-
How to generate an Umbraco XML Sitemap dynamically
Today, I implemented an XML sitemap in my Umbraco 7.7.9 installation. Here are the things I had to do: Create a Sitemap document type Create a Sitemap macro Create a rule for IIS URL rewriting of the sitemap.xml Author the Sitemap content page Sitemap document type My document type involves two properties which will allow…
-
How to setup a web app with Cloudflare CDN
I had a live web app in Azure that I wanted to hook up with a CDN using Cloudflare. Good news – Cloudflare has a free Global CDN offering and so I didn’t have to pay anything to use it. For more details about what other features you can have with a free account, see…
-
Cloudflare Infinite Redirect Loop error
I have just recently re-imported my Azure web apps into Cloudflare and while some of them worked smoothly, two of my sites (domain & subdomain) did not. These sites went down after about 24 hours and was throwing an infinite redirect loop error, saying it’s being redirected too many times. It turns out that the…
-
How to use Unity in an Umbraco solution
I have almost always used Unity in my applications but today I’ve had to fix broken code due to a recent installation of Unity in an Umbraco solution. While you can install Unity just like you would on any other ASP.NET application, it turns out that there are some Umbraco controllers/types that you need to…
-
How to workaround an Azure Virtual Machine that’s stuck in “Starting” state
I’ve encountered this a couple of times and from experience, it’s usually either after any of the below: Disk resize – in my case, I increased my disk size from 120gb to 200gb Installation of Windows upgrades in the VM Most of the time you can just navigate to your Virtual Machine > Support+Troubleshooting >…
-
How to migrate SDF database to Sql Server
Umbraco’s site installation comes with an SDF database. For obvious reasons, I needed to migrate this to SQL Server. Below are the steps I took to make it work. Before proceeding to the steps below, you will need to install following: ExportSqlCE40.exe which you can download from here SQL Server Compact 4.0 Runtime from here…
-
Azure Virtual Machine – Boot diagnostics – Failed to get contents of blob
Update: Turns out that the Boot diagnostics failure that I’ve been getting below has got nothing to do with my Azure Virtual machine being stuck in the “Starting” state. If you arrived on this post because you have the same issue of a VM being stuck in “Starting” state, follow this post instead. Otherwise, keep reading…
-
Configuring an ASP.NET web app with GSuite Gmail SMTP
This one took me several days to configure as it seems like Google has been constantly upgrading its security rules and so I found a lot of solutions online that no longer work. It’s possible this article may get outdated soon but at the time of writing, this is what made my “Contact Us” page…