...that is the question!
Let's face it, web hosting costs money. And we want to cover that cost, as best as possible.
My WCG Online project already has advertising, as provided by the lovely Google Adsense (who else?). I've tried to keep it to a minimum, with one thin advert at the top, but it's there, and it helps me keep the site free. There is also a Paypal button at the bottom, should anyone wish to donate to the project. A couple of quid here and there can make a big difference!
However, on my website, I didn't want to have adverts. For a start, it's my own personal site, it's not a project that needs supporting in the same way. But I pinched any idea from one of my tech crushes, Troy Hunt. He first introduced sponsorship of his blog back in September last year, and then followed that up by completely removing all ad network code from his blog in January. Well, I'm not lucky enough to have the web presence of Troy, so sponsorship isn't quite an option yet, but I have decided to go with a single line affiliate link instead...
This works by randomly selecting one of a predefined list of affiliate links each time the page loads. Should someone click on one of these links, at least I will get some small token from the place that's linked to.
It feel like it's unobtrusive, especially as it scrolls out of the way under the header with the rest of the page content, and is hopefully a good compromise.
Showing posts with label troy hunt. Show all posts
Showing posts with label troy hunt. Show all posts
Saturday, 25 February 2017
Wednesday, 22 February 2017
www. is not deprecated
Initially one of the things that I really liked about choosing my new website URL was that http://rik.onl looked so nice and short. However, I stumbled across a blog post written by Troy Hunt which covers how he created his new blog, and it points to a website called www. is not deprecated.
Having read his blog post and the site in more detail, I agreed with them entirely, that the technical benefits outweighed any slight aesthetic incentive that I saw, and so I switched my site to use www.rik.onl as the canonical URL.
Now that I've switched, I quite like it and feel it looks nicely balanced, but maybe 3.3.3 characters is not something everything looks for in a URL!
On a more technical note, this is achieved by adding the following meta tag to the source...
<link rel="canonical" href="http://www.rik.onl/index.php">
I've also changed WCG Online to use www.wcg.onl as the canonical URL, instead of the original wcg.onl, and I encourage you to do the same with your websites.
Having read his blog post and the site in more detail, I agreed with them entirely, that the technical benefits outweighed any slight aesthetic incentive that I saw, and so I switched my site to use www.rik.onl as the canonical URL.
Now that I've switched, I quite like it and feel it looks nicely balanced, but maybe 3.3.3 characters is not something everything looks for in a URL!
On a more technical note, this is achieved by adding the following meta tag to the source...
<link rel="canonical" href="http://www.rik.onl/index.php">
I've also changed WCG Online to use www.wcg.onl as the canonical URL, instead of the original wcg.onl, and I encourage you to do the same with your websites.
Subscribe to:
Posts (Atom)
