Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Please can anyone help? Somehow Google has indexed the page:


This looks fine, but the page should be:


All works well until you click on relative links on the page. For the first (backslash) case, these fail, as the path takes you one folder too far up the directory tree.

Our website is hosted by IIS, so no Apache style commands are possible. Has anyone any ideas?

Thx in advance


share|improve this question

There are many approaches you can take to resolve this problem which are:

Personally I would opt to use the rel canonical as this will resolve any further problems that occur from duplicate content... You could also use htaccess along side if you don't want those pages ever backlinked too, though canonical ensures that the master page receives the juice in any case.

Please note: I have added the htaccess method for readers with similar problem but use Apache, in this case you can ignore that method and just use canonical's which will do the job just superbly.

share|improve this answer
Canonical will prevent Googlebot from indexing the incorrect URL, but won't fix the broken link for somebody that is viewing the incorrect URL. – Stephen Ostermiller May 21 '13 at 23:09
Stephen - I agree - we've already got rel canonical tags, but they won't help - and although I posted this a month or so ago, the problem certainly hasn't gone away! If anything it's getting worse ... – Andy Brown May 23 '13 at 7:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.