Change in generated files for SE API docs, caused by change to not generate frames

mark.reinhold at oracle.com mark.reinhold at oracle.com
Mon Jun 4 23:01:18 UTC 2018


2018/6/4 15:54:34 -0700, martinrb at google.com:
> TIL about Canonical link element and 301 redirects.  You get to decide
> whether to follow the joint advice of Google and Microsoft
> https://en.wikipedia.org/wiki/HTTP_301#Search_engines

Sure, a 301 would be preferable, but it’s not always easy to arrange,
and it’s something you have to express outside of Javadoc’s output.

A canonical link at least updates the search engines, over time, to go
to the right place regardless of how the page is served.  If you own the
server then by all means arrange for the equivalent 301 (we’ll try to do
that on docs.oracle.com).  If you put a 301 in place then the canonical
link won’t interfere with it.

- Mark


More information about the javadoc-dev mailing list