Polishing D - suggestions and comments

Unknown W. Brackets unknown at simplemachines.org
Tue Jan 22 00:37:06 PST 2008


Well, I noticed that this is being done, which is great.  However, it's 
been done using http-equiv Refresh redirects.  This is not going to 
improve Google PageRanks.  Really those redirects need to be 301 results 
coming from Apache.

Easiest way to do this is with an .htaccess file or in httpd.conf.  It 
can be done with Redirect or RewriteEngine/RewriteRule.  Here's an example:

RewriteRule ^d/(phobos/.*)$ d/2.0/$1 [NS,L,R=301]
RewriteRule ^d/([^/]+\.html$ d/2.0/$1 [NS,L,R=301]

Or something similar.  Just my suggestion to maintain as much ranking 
and relevance for current pages as possible.

-[Unknown]


Unknown W. Brackets wrote:
> Aha, I thought that was somewhere... but couldn't find it.  I touched on this briefly.  It also represents problems as far as SEO (something that could be improved on D's pages.)
> 
> For example, the fact that these two, entirely separate in Google's eyes, URLs work is bad:
> 
> http://www.digitalmars.com/d/changelog.html
> http://digitalmars.com/d/changelog.html
> 
> In addition, really, all the pages within d/ should 301 redirect to 2.0/ so that 1.0 and 2.0 are each present in their pages' URLs.  This would make searching for documentation on a specific tree simpler and most likely improve relevancy.
> 
> But, this is more specific than I really wanted to get with the website's needs.  The important thing is making the decision to get the changes done, and taking the time to review who to work with on it.  Maybe an internal team of volunteers, maybe an outside agency.  This can't happen until responsibility is better dispersed...
> 
> As a side note, I work for a web company, and we use PHP primarily - which language I do like.  But it would be cool to see D eat its own dogfood here, and host the website on its own, lightweight webserver with D-coded dynamic pages.  This wouldn't be hard to write at all, and would really show the versatility of D (as well as efficiency, assuming it handled load well.)  Maybe not practically the best, though.
> 
> -[Unknown]
> 
> 
> Bill Baxter Wrote:
>> In terms of functionality, making the user-comments in-line would be a 
>> big help.  Most people don't notice the "comments" button at the top of 
>> each doc page, and obviously the comments on those external pages don't 
>> show up when you do a Ctrl-F find-on-page search.
> 



More information about the Digitalmars-d mailing list