Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

http://www.wiseowl.co.uk/courseware%5Cms-office.htm

This looks fine, but the page should be:

http://www.wiseowl.co.uk/courseware/ms-office.htm

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

Andy

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.