Compare these two pages: http://drupal.org/project/drupal & http://drupal.org/download

http://drupal.org/download is what you get when you go to http://drupal.org/ - click Download from the top menu - then click Drupal - so three clicks from the front page we're displaying 7.x as the first download option.

IMO, the ideal situation would be to remove development releases entirely from node teasers - or maybe the same "official releases" / "development releases" division as on the full node view (although that would take up more space and seems unnecessary).

Comments

aclight’s picture

Personally, I think we could get a lot of improvement out of one simple step. If we alias http://drupal.org/download to http://drupal.org/project/drupal on drupal.org, then we don't need to worry about any more complicated changes to project*.

catch’s picture

Title: Development versions listed (first) in project node teasers » alias /download to /project/drupal

Please. Great idea!

catch’s picture

Status: Active » Fixed

Discussed this further with chx and aclight on irc. The result was we did this alias, so the 'Drupal' link goes to the node, rather than the project-generated teaser view just for the Drupal project where there's only one node. Marking as fixed.

aclight’s picture

dww’s picture

Yay. That's more like it.

aclight’s picture

Priority: Normal » Critical
Status: Fixed » Active

In addressing this issue, it seems that the previous path of http://drupal.org/project/drupal which should point to http://drupal.org/node/3060 is now broken. We need to get that fixed again since this will break a lot of links on the site.

I'm marking #273793: alias /download to /project/drupal as a duplicate and we'll just take care of that here.

aclight’s picture

Whoops. #288636: The page /project/drupal not found is the duplicate issue.

dww’s picture

Assigned: Unassigned » dww
Status: Active » Fixed
dww’s picture

Assigned: dww » Unassigned
Category: bug » task
Priority: Critical » Normal
Status: Fixed » Active

It occurs to me that as a result of all these aliases, all of the following point to the same page:

http://drupal.org/download
http://drupal.org/project/Drupal+project
http://drupal.org/project/drupal
http://drupal.org/node/3060

Doesn't google hate duplicate content like that, and penalize you for it? Would it not be better to use URL redirects for some of these, instead of simple aliases?

E.g. have http://drupal.org/project/drupal be the canonical URL, and tell apache to redirect http://drupal.org/download and http://drupal.org/project/Drupal+project to that?

aclight’s picture

yeah, that might be a better way to do it. I don't think chx has that kind of access, so i guess that's part of why it wasn't done like that originally.

dww’s picture

Assigned: Unassigned » dww
Status: Active » Needs review
StatusFileSize
new986 bytes

While I think it'd be nicer to just enable http://drupal.org/project/path_redirect on d.o for this sort of thing, I know that's going to create friction. Instead of hacking the .htaccess for this, how about the following (admittedly hackish) patch for drupalorg's redirects.module? Tested this on a local d.o test profile site with anonymous page cache enabled as both anon and auth users. Seems to work charmingly.

aclight’s picture

won't we still have the problem that two urls will lead to the same content?

dww’s picture

Google doesn't penalize redirects. Only 2 or more paths that "land" somewhere and have identical content.

dww’s picture

Assigned: dww » Unassigned
Status: Needs review » Needs work

We'd still like this, but it needs to be re-rolled for D6 d.o module. Any volunteers?

dww’s picture

Assigned: Unassigned » dww
Status: Needs work » Reviewed & tested by the community

I have a patch done for this, I'll commit and deploy when I get home late tonight.

dww’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new931 bytes
new1.2 KB

Any objections?
In D5 the menu items are case-sensitive, not so (on mysql) in D6.

dww’s picture

Status: Needs review » Fixed

Committed and deployed.

dave reid’s picture

I'm also open to improvements and suggestions for path_redirect if it ever might be useful for drupal.org.

dww’s picture

I think we'll definitely want path_redirect here, especially once we move to different subsites as per the d.o redesign and need a solution to the gigantic link-rot problem that will entail.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.