Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #16332
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
| Newsgroups | comp.lang.php |
| Subject | Re: Canonical URLs, truncated URLs, redirects and SEO |
| Date | Sat, 23 Jan 2016 13:09:53 +0000 |
| Organization | A noiseless patient Spider |
| Lines | 49 |
| Message-ID | <87si1o4f32.fsf@bsb.me.uk> (permalink) |
| References | <n7r1eb$cb1$1@dont-email.me> <n7t5n3$era$1@news.metronet.hr> <n7td5h$7ic$1@dont-email.me> <56A252EF.1060403@arnowelzel.de> <n7vpqq$afk$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="23865"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wo2BhXVwGC1P9K/lWN6Iivt8IPkM8pc4=" |
| Cancel-Lock | sha1:8BXJ+DdpA6xIG9EC+E9HMpQhTqU= sha1:s4qc/sZL09oq5jkhkxWUMFeNsUA= |
| X-BSB-Auth | 1.883cb8f394b3f21041ea.20160123130953GMT.87si1o4f32.fsf@bsb.me.uk |
| Xref | csiph.com comp.lang.php:16332 |
Show key headers only | View raw
James Harris <james.harris.1@gmail.com> writes: <snip> > That is very much the kind of thing I want to do. But I would include > a unique code, probably a decimal number. For example, the file itself > could be > > /partition/essay/1053-long-file-name.ext > > "partition" is for a partition of the site. > "essay" is a sample subfolder name, in this case for essays. > "1053-" is the unique code indicating which essay was to be served. > The rest of the name is mainly for human convenience. > > Naturally, each such essay would begin with a unique number and a hyphen. > > The question is what two URL forms to use in order to get to that > file. The short URL would basically just need to know the partition, > the subfolder, and the 1053 code. The canonical URL would also include > the human-useful text. Canonical URL options for the above file are > things like > > http://my-site.com/partition/essay-1053/long-file-name > http://my-site.com/partition/essay/1053/long-file-name > http://my-site.com/partition/essay/long-file-name-1053 > http://my-site.com/partition/essay/long-file-name/1053 > > And the short form could be one of > > http://my-site.com/partition/essay-1053 > http://my-site.com/partition/essay/1053 <snip> > I am thinking that the only true key would be the decimal number. Even > for the URL with the long file name I don't see a need to use anything > other than the number to find the file. Which suggests the short form could be http://my-site.com/essay-1053 or even http://my-site.com/1053 Not that there's any harm in providing a medium length form as well since the "partition" and "essay" bits do convey some information to the reader. -- Ben.
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Canonical URLs, truncated URLs, redirects and SEO James Harris <james.harris.1@gmail.com> - 2016-01-21 16:39 +0000
Re: Canonical URLs, truncated URLs, redirects and SEO crankypuss <invalid@invalid.invalid> - 2016-01-21 11:22 -0700
Re: Canonical URLs, truncated URLs, redirects and SEO James Harris <james.harris.1@gmail.com> - 2016-01-22 13:58 +0000
Re: Canonical URLs, truncated URLs, redirects and SEO Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-01-21 19:16 +0000
Re: Canonical URLs, truncated URLs, redirects and SEO James Harris <james.harris.1@gmail.com> - 2016-01-22 14:03 +0000
Re: Canonical URLs, truncated URLs, redirects and SEO Richard Yates <richard@yatesguitar.com> - 2016-01-21 12:31 -0800
Re: Canonical URLs, truncated URLs, redirects and SEO Allodoxaphobia <knock_yourself_out@example.net> - 2016-01-21 22:42 +0000
Re: Canonical URLs, truncated URLs, redirects and SEO Goran <goran@nospam.com> - 2016-01-22 13:01 +0100
Re: Canonical URLs, truncated URLs, redirects and SEO James Harris <james.harris.1@gmail.com> - 2016-01-22 14:11 +0000
Re: Canonical URLs, truncated URLs, redirects and SEO Arno Welzel <usenet@arnowelzel.de> - 2016-01-22 17:03 +0100
Re: Canonical URLs, truncated URLs, redirects and SEO James Harris <james.harris.1@gmail.com> - 2016-01-23 11:59 +0000
Re: Canonical URLs, truncated URLs, redirects and SEO Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-01-23 13:09 +0000
Re: Canonical URLs, truncated URLs, redirects and SEO James Harris <james.harris.1@gmail.com> - 2016-01-23 16:17 +0000
Re: Canonical URLs, truncated URLs, redirects and SEO "R.Wieser" <address@not.available> - 2016-01-23 20:11 +0100
Re: Canonical URLs, truncated URLs, redirects and SEO James Harris <james.harris.1@gmail.com> - 2016-01-24 21:35 +0000
Re: Canonical URLs, truncated URLs, redirects and SEO Eli the Bearded <*@eli.users.panix.com> - 2016-01-25 22:20 +0000
csiph-web