w3c / devicesensors-wg

Devices and Sensors Working Group website
https://www.w3.org/das/
3 stars 5 forks source link

Fix home navigation link. #23

Closed mfoltzgoogle closed 5 years ago

mfoltzgoogle commented 5 years ago

It looks like the canonical URL for this site is https://w3.org/das. If that's how you want to serve this site, then we can add script redirect to that URL in index.html.

Or we could update the navbar code to handle home links for either domain (w3c.github.io or w3.org).

anssiko commented 5 years ago

Thanks for reporting! I deployed a fix in https://github.com/w3c/devicesensors-wg/commit/93a22c97d97f5d63f4794201c245f01028ae1b19.

Now the site uses a correct canonical URL in <link rel="canonical"> to help search engines reduce duplicate content. Also added a JS-based redirect from any subpage of w3c.github.io/devicesensors-wg to w3.org/das.

I'm closing this PR. Let me know if you spot issues with this patch.