Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: [wp-testers] Uploading Location and Trailing slash

  • To: wp-testers@xxxxxxxxxxxxxxxxxxxx
  • Subject: Re: [wp-testers] Uploading Location and Trailing slash
  • From: Roy Schestowitz <wp-lowtraffic@xxxxxxxxxxxxxxx>
  • Date: Mon, 19 Dec 2005 04:27:49 +0000
  • Delivery-date: Mon, 19 Dec 2005 04:27:50 +0000
  • Envelope-to: wp-lowtraffic@schestowitz.com
  • In-reply-to: <4d2c128c0512181854i7742c98ah8321b5604058399a@mail.gmail.com>
  • References: <4d2c128c0512172341r51714a8t88adae63dab95bec@mail.gmail.com> <2102fd710512181733m5c6813e6m4d24c93c58a325b0@mail.gmail.com> <43A61DEC.6040203@twilightuniverse.com> <4d2c128c0512181854i7742c98ah8321b5604058399a@mail.gmail.com>
  • Reply-to: r@xxxxxxxxxxxxxxx
  • User-agent: Internet Messaging Program (IMP) H3 (4.0.3)
_____/ On Mon 19 Dec 2005 02:54:17 GMT, [Sean Hayford O'Leary] wrote : \_____

Rick Beckman wrote:
> Aren't proper URLs meant to have a trailing slash? I'm not saying
> you're wrong in your request, but this is what I remember reading
> somewhere on the W3C website, though "to each his own." :-)
>
> --
> Rick
>
> On 12/18/05, *Sean Hayford O'Leary* <hayfordoleary@xxxxxxxxx
> <mailto:hayfordoleary@xxxxxxxxx>> wrote:
>
>     Two completely unrelated things:
>     First - In an older e-mail from the list, there was a method in
>     wp-settings.php to easily change the upload path. Maybe I'm crazy,
but
>     has this code changed since the upload path option was taken out of
>     the admin? Also, how do you specify what types of files can be
>     uploaded?
>
>     Second - Is there an efficient way to eliminate trailing slashes in
>     2.0? Naturally, you can get rid of them for the posts themselves in
>     the permalink options, but for categories and archives, they still
>     show up by default (I'm not sure if this should be counted as a
>     "feature" or a "bug," but it seems that if you don't have a trailing
>     slash specified in the permalink options, it should be disabled
>     site-wide).
>
>     --
>     Sean Hayford O'Leary
>
On 12/18/05, Gregory Wild-Smith <greg@xxxxxxxxxxxxxxxxxxxx> wrote:

From the point of view of being good practice they should at least. The server has to do less work to find the requested resource with a trailing slash (usually anyhow).

Not sure if its a rule as such, but the W3C probably recommends it.

-- Greg

The trailing slash isn't a big deal -- but anyone know about the uploading?

(My argument against trailing slash is that it techincally indicates a
directory, not a single web-page. (Even the W3C themselves do not always use
trailing slash: http://www.w3.org/QA/Tips/good-titles)


http://www.w3.org/Addressing/URL/uri-spec.txt

Have a look at Section 8:

<snippet>

Note: Trailing slashes

  If a path of the context locator ends in slash, partial URIs are
  treated differently to the URI with the same path but without a
  trailing slash. The trailing slash indicates a void segment of the
  path.

</snippet>

The point made by Berners-Lee is that syntax pertaining to structure need be
avoided. For example, ".." might have a special meaning. What about spaces
("%20") for example? They lead to a command-line ambiguity (spaces have a
special meaning, also in the context of namespace). They were embraced by
Windows in particular. I'm in favour of no trailing slash, but either way, they
don't lead to PageRank leakage, unlike, for instance, the www umbilical cord.
It's not crucial and permanent link will not be broken either way.


Roy


[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index