SEO is one of the most important aspects of websites if not the most important aspect. There is no point in having a website if it cannot be found by your customers. You could spend a fortune on design and development but if your site can’t be found then whats the point?

Something that I think is worth mentioning and not a lot of people realise is that it is not a good idea to have more than one domain name pointing to the same website. Most companies will buy more than one domain name for their website to avoid competitors buying and using similar domain names. This is perfectly fine however you need to make it clear to search engines that the domain names are pointing to a single website and not multiple websites with the same content. If search engines think this is the case, your search positioning can be adversely affected.

Since I use IIS to host most of my websites, here’s a guide on how to clearly let search engines know that all your domain names for your website are pointing to a single website.

  • Make sure your website only has one domain name associated with it.
  • Open IIS
  • Right click your website and select properties
  • Click the Advanced button
  • Here you will see all the domain names that you have setup to point to your website. Remove them all, leaving only one preffered domain name for your site.
  • The next step is to setup a new website that will contain all your other domain names for your website and will permanently redirect to your website
  • Right click websites in IIS and select New - Web Site
  • Enter a description for your website, something like Company (Redirect)
  • Click next and select the IP address for your site
  • Select the path to your site. You need to select this to continue however it will be irrelevant after the next step
  • Continue through the steps until your website is created
  • On your newly created site, Right click your website and select properties
  • Click the Advanced button
  • Here you should enter all the domain names you want to point to your website including domains without the www
  • Once complete click the Home Directory tab
  • Select the ‘Redirection to a URL’ radio button
  • Enter the URL you have singled out as your preferred URL in the ‘Redirect to’ textbox
  • Select the ‘The exact URL entered above’ checkbox and the ‘A permanent redirection for this resource’
  • Hey presto. Job Done!

Todays problem involved refreshing an image after uploading using a FileUpload control. The issue was that although the file was changing on the server, the file name was staying the same. This results in the browser displaying the old file as it is being retrieved by the browsers cache. To avoid this problem you need to add a unique querystring parameter to the image url. You can achieve this with the following code:

string lsTimeStamp = DateTime.Now.ToString("yyyyMMddhhmmss");
Image1.ImageUrl = lsImageName + "?ts=" + lsTimeStamp;

I came across a problem today with the Google Maps API failing to load in Firefox. All I was getting was a message in the status bar of the browser saying “Waiting for”

After a bit of messing about I discovered that if you have Firebug installed, disabling support for JavaScript debugging solves the problem.

Jul 1

New website

Posted in: Blog, general | 2 Comments

I have finally got round to sorting out my new website. I have neglected this site for a long time and my aim is to keep this new one up to date. We will see ….

 Page 3 of 3 « 1  2  3 

Tools I Use

Web development, custom web based business applications, CMS systems.
Custom CMS systems using the Umbraco open source CMS based on ASP.NET.
I use Wordpress for small to medium scale CMS systems.
Dreamweaver, Flash, Flex and Photoshop are my tools of choice for interface design.

Read more about my Skills »


The ramblings, thoughts and opinions expressed on this website are my own personal opinions and do not represent my employer's views or the views of any companies I have worked for in the past.

About me

Welcome to my portfolio website. My name is Marc Love and I am a Web Developer based in Glasgow, Scotland.

I have worked for some of the top digital agencies in Glasgow during my career and have recently started up my own digital agency, madebycrunch with my web designer colleague Paul Daly. Our aim is to design and develop cutting edge websites that make a significant difference to the success of your business.

We are currently working on a range of different projects that you will be able to see very soon on the new madebycrunch website.

This site contains a selection of the projects I have worked on throughout my career.

Feel free to visit my Blog or take a closer look at my Portfolio.

Also check out a new service I have launched (November 2014) providing premium Umbraco Themes and Starter Kits.

Get in touch!

If you are looking for freelance web developer or web designer services please get in touch via my contact page or the info below.

Tel: 0141 275 4848
Mob: 07795 417 980

St Georges Buildings
5 St Vincent Place
Glasgow, G1 2DH