garden_hoe21: (Default)
garden_hoe21 ([personal profile] garden_hoe21) wrote in [site community profile] dw_suggestions2011-12-27 01:38 am

Automatically redirect .htm to .html

Title:
Automatically redirect .htm to .html

Area:
entries

Summary:
I don't know how much bandwidth or work it would take, but maybe you could consider changing or redirecting .htm urls on dreamwidth to .html, bypassing the 404 page. Or, maybe on the 404 page include a note that if the user got there following a url that ends in .htm, they should change it to .html.

Description:
That's pretty much it.

Poll #8904 Automatically redirect .htm to .html
Open to: Registered Users, detailed results viewable to: All, participants: 93


This suggestion:

View Answers

Should be implemented as-is.
73 (78.5%)

Should be implemented with changes. (please comment)
3 (3.2%)

Shouldn't be implemented.
1 (1.1%)

(I have no opinion)
16 (17.2%)

(Other: please comment)
0 (0.0%)

azurelunatic: Vivid pink Alaskan wild rose. (Default)

[personal profile] azurelunatic 2011-12-27 08:13 am (UTC)(link)
Thank you for making this suggestion! *goes and checks that off on the to-do list*

I would suggest just redirecting, because there is nowhere on DW that I know of that actually uses .htm, so it will never work; the only viable reason that I could see (aside from technical pain-in-the-neck) would be if some pages were .htm and some were .html, but since they're not...

---

From my notes on the to-do list:

This seems like it should be relatively low-energy to maintain, and may well be low-effort for someone with server administration experience to implement. It does introduce the opportunity for new and exciting configuration errors.

I don't think that anyone deliberately uses the .htm links in order to foil spiders, but if they did, this would screw that up.
Edited 2011-12-27 08:15 (UTC)
claire_chan: A (A)

[personal profile] claire_chan 2011-12-27 09:32 am (UTC)(link)
Why?

As [personal profile] azurelunatic notes, there are no .htm urls here to begin with.
DreamWidth is a .html-only site.
The 404 page is there for a reason.

I don't think this could be very useful.

/just sayin'
azurelunatic: Vivid pink Alaskan wild rose. (Default)

[personal profile] azurelunatic 2011-12-27 10:02 am (UTC)(link)
It's a really common mistake when copying and pasting, which is why I think it would be very useful.
turlough: castle on mountain top in winter, Burg Hohenzollern (Default)

[personal profile] turlough 2011-12-27 04:01 pm (UTC)(link)
Hear, hear! /someone who does it far too often and can't understand why the URL they copypasted doesn't work...
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)

[personal profile] matgb 2011-12-27 04:08 pm (UTC)(link)
I don't think this could be very useful.

I do. I've copied/pasted wrong more'n once, and I've accidentally deleted too much when stripping out ?style= or similar when linking-having a link ending .htm that's gone out to Twitter, Delicious etc normally having hit a link shortener, etc is annoying to me, readers and those I link to.
cheyinka: A glowing blue sheep with green eyes (electric sheep)

[personal profile] cheyinka 2011-12-27 09:22 pm (UTC)(link)
My with-changes is that I think it might work better to have a "No pages on this site end in .htm - if the link you followed ended in .htm, change that to .html" notice than a redirect, both from an "easier to do" perspective and because there'd be a chance that the person getting that notice could go back to whomever had the invalid link and have em fix the link. (And, I guess, if anyone intentionally uses the .htm link for some weird reason it'd let them keep doing so, but I find it hard to imagine anyone doing that.)

On the other hand, it'd be annoying to see if it was a copying error, but in my experience I get the 404 page more often from someone else's miscopied link than from my truncated copying.
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)

[personal profile] matgb 2011-12-27 09:39 pm (UTC)(link)
I think it might work better to have a "No pages on this site end in .htm - if the link you followed ended in .htm, change that to .html" notice

See, I think the opposite as I know a large number of people have no idea what the addressbar is or how to use/amend it.
azurelunatic: Vivid pink Alaskan wild rose. (Default)

[personal profile] azurelunatic 2011-12-27 09:44 pm (UTC)(link)
Or a split: a "No pages on this site end in .htm -- did you mean [same link].html?" with a clickable link.
cheyinka: A glowing blue sheep with green eyes (electric sheep)

[personal profile] cheyinka 2011-12-27 10:20 pm (UTC)(link)
That'd be perfect!
ninetydegrees: Art: self-portrait (Default)

[personal profile] ninetydegrees 2011-12-30 04:59 pm (UTC)(link)
+1
cesy: "Cesy" - An old-fashioned quill and ink (Default)

[personal profile] cesy 2012-01-01 01:58 pm (UTC)(link)
That would work well.
aedifica: Photo of purple yarrow flowers. (Achillea millefolium)

[personal profile] aedifica 2012-01-05 09:05 pm (UTC)(link)
This is my "with changes"!
msilverstar: (corset)

[personal profile] msilverstar 2011-12-29 05:08 am (UTC)(link)
Silently doing the right thing is better than bothering people for a theoretical gain.

[personal profile] andy 2011-12-29 06:23 am (UTC)(link)
MTE
thorfinn: <user name="seedy_girl"> and <user name="thorfinn"> (Default)

[personal profile] thorfinn 2012-01-03 02:46 am (UTC)(link)
+1
arethinn: glowing green spiral (Default)

[personal profile] arethinn 2012-01-06 03:05 am (UTC)(link)
+1