Thread overview
Redirecting dead links on the website
Apr 01, 2015
w0rp
Apr 01, 2015
Martin Nowak
Apr 03, 2015
w0rp
Apr 02, 2015
Martin Nowak
Apr 03, 2015
w0rp
Apr 03, 2015
Martin Nowak
April 01, 2015
Phobos documentation was restructured, and the new structure is good. However, changing the URLs for the documentation has left behind a few broken links, some of which I'm seeign in Google search results. For example, this page I just saw.

http://dlang.org/library/std/traits/ValueType.html

This is bad for two reasons.

1. For humans, a dead link means that something is just a little harder to find.
2. For Google and SEO, the site might lose some ranking in searcch results, as popular pages are now probably considered dead completely by Google.

We sould track down the old links and redirect to the new documentation pages.

I also noticed that we are hosting two different versions of the Phobos documentation, one in one format for 2.066, and another in another format for 2.067. See these two pages for example.

http://dlang.org/library/std/traits.html
http://dlang.org/phobos/std_traits.html

So again, a series of redirects is needed. If someone has control over Webmaster Tools, that would be a good way to find a list of 404s to sort out.
April 01, 2015
On 04/01/2015 11:20 PM, w0rp wrote:
> Phobos documentation was restructured, and the new structure is good. However, changing the URLs for the documentation has left behind a few broken links, some of which I'm seeign in Google search results. For example, this page I just saw.
> 
> http://dlang.org/library/std/traits/ValueType.html

We changed dpl-docs format from CamelCase to underscore because Andrei used a case-insensitive file system on OSX. https://github.com/D-Programming-Language/tools/pull/129

> We sould track down the old links and redirect to the new documentation pages.

I might look into that, it's quite some work though.
Can we feed them the sitemap instead?
http://dlang.org/library/sitemap.xml

> I also noticed that we are hosting two different versions of the Phobos documentation, one in one format for 2.066, and another in another format for 2.067. See these two pages for example.
> 
> http://dlang.org/library/std/traits.html http://dlang.org/phobos/std_traits.html

That's intended /library/ is the "new" documentation generated by ddox/dpl-docs with one page per entity.
April 02, 2015
On Wednesday, 1 April 2015 at 21:20:49 UTC, w0rp wrote:
> We sould track down the old links and redirect to the new documentation pages.

Working on a fix, will hopefully be deployed tomorrow.
https://github.com/D-Programming-Language/dlang.org/pull/951

BTW, we could really need more people with frontend/web skills to help us with dlang.org.
April 03, 2015
On Wednesday, 1 April 2015 at 23:23:27 UTC, Martin Nowak wrote:
> I might look into that, it's quite some work though.
> Can we feed them the sitemap instead?
> http://dlang.org/library/sitemap.xml

It looks like the sitemap has the IPv4 localhost IP address in it, instead of the site's domain name. I'm pretty sure that will need to be fixed too.
April 03, 2015
On Thursday, 2 April 2015 at 04:38:50 UTC, Martin Nowak wrote:
> On Wednesday, 1 April 2015 at 21:20:49 UTC, w0rp wrote:
>> We sould track down the old links and redirect to the new documentation pages.
>
> Working on a fix, will hopefully be deployed tomorrow.
> https://github.com/D-Programming-Language/dlang.org/pull/951
>
> BTW, we could really need more people with frontend/web skills to help us with dlang.org.

I can probably help a little, if there's a bug list of things
that need to be done, etc.
April 03, 2015
On 04/03/2015 06:40 PM, w0rp wrote:
> I can probably help a little, if there's a bug list of things that need to be done, etc.

Well, there is https://issues.dlang.org/buglist.cgi?component=websites&list_id=199823&query_format=advanced&resolution=---, but it's mostly about documentation issues.

I think the best help would be to enable notifications (watch) for https://github.com/D-Programming-Language/dlang.org and review pull requests.

https://github.com/D-Programming-Language/dlang.org/pull/949 https://github.com/D-Programming-Language/dlang.org/pull/938

The other help would be to improve "ugly" parts, e.g. the code run example.