Generic Error
Generic Error

Reputation: 4477

Canonical URLs for JS and CSS, HTTP vs HTTPS

I am using the IIS Search Engine Optimization Toolkit to scan over a site of mine. One of the compaints it has is that there are multiple canonical URLs for my static assets, e.g.

It is of course correct, the same file is linked differently on the secure pages. This is only happening for static resources, the actual HTML pages all have single canonical URLs.

Should I leave this as is an ignore the toolkit or is there a better arrangement. I need to consider all angles, e.g.

Thanks for your help!

Upvotes: 0

Views: 205

Answers (1)

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798676

You need to decide if it's better for you to receive this message from your analysis toolkit, or for your customers to be told that not all items on the page are secure.

I know what my choice would be...

Upvotes: 1

Related Questions