I have a javascript where I check to see what the last 4 characters are of the URL I am on and if they are html I want to set a
<link rel="canonical" href="http://www.yourcanonicalurl.com" /> type of variable in my <head> section. How do I do this? Is it a document.write statement or some type of getelement syntax?
Thanks,
Steve


