SearchSearch   

nicer url thoughts?

 
Goto page 1, 2, 3
   Webmaster Forums (Home) -> HTML RSS
Next:  IE6 and second class in CSS  
Author Message
Paul Furman

External


Since: Jan 04, 2007
Posts: 100



(Msg. 1) Posted: Thu Jul 26, 2007 10:18 am
Post subject: nicer url thoughts?
Archived from groups: alt>html (more info?)

I've been going through doing some search engine friendliness updates
with rewrite rules and would like to clean up some php query strings
like ?PG=2&PIC=5

I'm thinking /2/5 is not going to work because I have folders named /2
in some cases so maybe it's more like /2~5 but that's just weird using
funny characters or /pg2#5

You'd think I could come up with something decent but I'm just not sure.
Any suggestions?


For now my links look like this:
http://www.edgehill.net/1/?SC=go.php&DIR=0_gallery/0-Photo-Update/2007...-24&PG=
I've got it down to this (not uploaded yet):
http://www.edgehill.net/1/gallery/photo-update/2007-06-24?PG=1&PIC=1
and soon I'll have this:
http://www.edgehill.net/gallery/photo-update/2007-06-24?PG=1&PIC=1

Also, is there any reason not to chop off the www:
http://edgehill.net/gallery/photo-update/2007-06-24

Oh, and I could change 2007-06-24 to 6-24-07

So the final urls would look like:
http://edgehill.net/gallery/photo-update/6-24-07/pg2#5
.... or whatever looks best on the page & pic numbers...

Thanks for your ideas,

--
Paul Furman Photography
http://www.edgehill.net/1
Back to top
Paul Furman

External


Since: Jan 04, 2007
Posts: 100



(Msg. 2) Posted: Thu Jul 26, 2007 6:24 pm
Post subject: Re: nicer url thoughts?
Archived from groups: per prev. post (more info?)

Paul Furman wrote:
> I've been going through doing some search engine friendliness updates
> with rewrite rules and would like to clean up some php query strings
> like ?PG=2&PIC=5
>
> I'm thinking /2/5 is not going to work because I have folders named /2
> in some cases

You know, I can work around this so nevermind. I think /2/5 is the most
straightforward way to handle it unless someone disagrees

> so maybe it's more like /2~5 but that's just weird using
> funny characters or /pg2#5
>
> You'd think I could come up with something decent but I'm just not sure.
> Any suggestions?
>
>
> For now my links look like this:
> http://www.edgehill.net/1/?SC=go.php&DIR=0_gallery/0-Photo-Update/2007...-24&PG=
>
> I've got it down to this (not uploaded yet):
> http://www.edgehill.net/1/gallery/photo-update/2007-06-24?PG=1&PIC=1
> and soon I'll have this:
> http://www.edgehill.net/gallery/photo-update/2007-06-24?PG=1&PIC=1
>
> Also, is there any reason not to chop off the www:
> http://edgehill.net/gallery/photo-update/2007-06-24
>
> Oh, and I could change 2007-06-24 to 6-24-07
>
> So the final urls would look like:
> http://edgehill.net/gallery/photo-update/6-24-07/pg2#5
> ... or whatever looks best on the page & pic numbers...
>
> Thanks for your ideas,
>


--
Paul Furman Photography
http://www.edgehill.net/1
Bay Natives Nursery
http://www.baynatives.com
Back to top
Paul Furman

External


Since: Jan 04, 2007
Posts: 100



(Msg. 3) Posted: Thu Jul 26, 2007 6:24 pm
Post subject: Re: nicer url thoughts?
Archived from groups: per prev. post (more info?)

Paul Furman wrote:

> Paul Furman wrote:
>
>> I've been going through doing some search engine friendliness updates
>> with rewrite rules and would like to clean up some php query strings
>> like ?PG=2&PIC=5
>>
>> I'm thinking /2/5 is not going to work because I have folders named /2
>> in some cases
>
> You know, I can work around this so nevermind. I think /2/5 is the most
> straightforward way to handle it unless someone disagrees

Ack scratch that, it *IS* a problem I'm going to implement it as /pg1pc5
but if you got better ideas I can change that. Apparently # is a special
character for browsers.


>> so maybe it's more like /2~5 but that's just weird using funny
>> characters or /pg2#5
>>
>> You'd think I could come up with something decent but I'm just not
>> sure. Any suggestions?
>>
>>
>> For now my links look like this:
>> http://www.edgehill.net/1/?SC=go.php&DIR=0_gallery/0-Photo-Update/2007...-24&PG=
>>
>> I've got it down to this (not uploaded yet):
>> http://www.edgehill.net/1/gallery/photo-update/2007-06-24?PG=1&PIC=1
>> and soon I'll have this:
>> http://www.edgehill.net/gallery/photo-update/2007-06-24?PG=1&PIC=1
>>
>> Also, is there any reason not to chop off the www:
>> http://edgehill.net/gallery/photo-update/2007-06-24
>>
>> Oh, and I could change 2007-06-24 to 6-24-07
>>
>> So the final urls would look like:
>> http://edgehill.net/gallery/photo-update/6-24-07/pg2#5
>> ... or whatever looks best on the page & pic numbers...
>>
>> Thanks for your ideas,
>>
>
>


--
Paul Furman Photography
http://www.edgehill.net/1
Bay Natives Nursery
http://www.baynatives.com
Back to top
J.O. Aho

External


Since: May 31, 2006
Posts: 2034



(Msg. 4) Posted: Thu Jul 26, 2007 8:45 pm
Post subject: Re: nicer url thoughts?
Archived from groups: per prev. post (more info?)

Paul Furman wrote:
> I've been going through doing some search engine friendliness updates
> with rewrite rules and would like to clean up some php query strings
> like ?PG=2&PIC=5

This will increase the load on your web server, IMHO it's better that search
engines gets more friendly to URLs than web sites to adjust due searchengines
has trouble of indexing pages correctly.

> I'm thinking /2/5 is not going to work because I have folders named /2
> in some cases so maybe it's more like /2~5 but that's just weird using
> funny characters or /pg2#5

Sure you could do that, or just add a character in front that you don't
usually use, as you use rewrite_mod, it handles reg expressions will.


Keep in mind you may get troubles if you use relative paths to images and
links on your own site.

--

//Aho
Back to top
Paul Furman

External


Since: Jan 04, 2007
Posts: 100



(Msg. 5) Posted: Thu Jul 26, 2007 8:45 pm
Post subject: Re: nicer url thoughts?
Archived from groups: per prev. post (more info?)

J.O. Aho wrote:

> Paul Furman wrote:
>
>>I've been going through doing some search engine friendliness updates
>>with rewrite rules and would like to clean up some php query strings
>>like ?PG=2&PIC=5
>
> This will increase the load on your web server, IMHO it's better that search
> engines gets more friendly to URLs than web sites to adjust due searchengines
> has trouble of indexing pages correctly.

Yes I already torture my poor server in other worse ways though Smile I
also want this to make the urls shorter for emailing links. I totally
agree the search engines are not reasonable about ignoring php content,
in fact they don't always ignore it but apparently it hurts a lot.

>>I'm thinking /2/5 is not going to work because I have folders named /2
>>in some cases so maybe it's more like /2~5 but that's just weird using
>>funny characters or /pg2#5
>
> Sure you could do that, or just add a character in front that you don't
> usually use, as you use rewrite_mod, it handles reg expressions will.

For now I'm thinking /pg2pc5 it could be /~2~5 but that's an awkward
character for people to type... maybe /p2~5 ...shortness is important to
my goals. Sometimes I will just give the page number so /pg2 /p2

> Keep in mind you may get troubles if you use relative paths to images and
> links on your own site.

Yep, I've been dealing with that already with the rewrite rules I've
implemented so far. It wasn't too bad and the nice thing is except for
that, all the old ugly urls will continue to function. What I had to
change was relative urls that didn't start at the root, I had everything
under /1 & the index.php loaded under /1 so I had left out the /1 on
many but those are almost all easily corrected in the php building or
html, just a few exceptions are broken hard coded links in the
annotation under some photos.

--
Paul Furman Photography
http://www.edgehill.net/1
Bay Natives Nursery
http://www.baynatives.com
Back to top
J.O. Aho

External


Since: May 31, 2006
Posts: 2034



(Msg. 6) Posted: Thu Jul 26, 2007 10:01 pm
Post subject: Re: nicer url thoughts?
Archived from groups: per prev. post (more info?)

Paul Furman wrote:
> J.O. Aho wrote:
>
>> Paul Furman wrote:
>>
>>> I've been going through doing some search engine friendliness updates
>>> with rewrite rules and would like to clean up some php query strings
>>> like ?PG=2&PIC=5
>>
>> This will increase the load on your web server, IMHO it's better that
>> search
>> engines gets more friendly to URLs than web sites to adjust due
>> searchengines
>> has trouble of indexing pages correctly.
>
> Yes I already torture my poor server in other worse ways though Smile I
> also want this to make the urls shorter for emailing links. I totally
> agree the search engines are not reasonable about ignoring php content,
> in fact they don't always ignore it but apparently it hurts a lot.

Why not use tinyurl ?


>>> I'm thinking /2/5 is not going to work because I have folders named /2
>>> in some cases so maybe it's more like /2~5 but that's just weird using
>>> funny characters or /pg2#5
>>
>> Sure you could do that, or just add a character in front that you don't
>> usually use, as you use rewrite_mod, it handles reg expressions will.
>
> For now I'm thinking /pg2pc5 it could be /~2~5 but that's an awkward
> character for people to type... maybe /p2~5 ...shortness is important to
> my goals. Sometimes I will just give the page number so /pg2 /p2

No, ~ is a bad character to use, it's usually used to tell that the webserver
should look in the user directory for the pages.

page.php/q2/5

This way you could use the 'q' to tell that the following is just an argument
for the php script and not directories.


--

//Aho
Back to top
Paul Furman

External


Since: Jan 04, 2007
Posts: 100



(Msg. 7) Posted: Thu Jul 26, 2007 10:01 pm
Post subject: Re: nicer url thoughts?
Archived from groups: per prev. post (more info?)

J.O. Aho wrote:

> Why not use tinyurl ?

I do, it's a pain... also people have trouble copying my long links.

> ~ is a bad character to use, it's usually used to tell that the webserver
> should look in the user directory for the pages.

OK thanks.

--
Paul Furman Photography
http://www.edgehill.net/1
Bay Natives Nursery
http://www.baynatives.com
Back to top
Yorkshire Pete

External


Since: Jan 31, 2006
Posts: 19



(Msg. 8) Posted: Thu Jul 26, 2007 10:01 pm
Post subject: Re: nicer url thoughts?
Imported from groups: per prev. post (more info?)

This message is not archived
Back to top
Paul Furman

External


Since: Jan 04, 2007
Posts: 100



(Msg. 9) Posted: Thu Jul 26, 2007 10:01 pm
Post subject: Re: nicer url thoughts?
Archived from groups: per prev. post (more info?)

Yorkshire Pete wrote:
> On 26 Jul 2007 Paul Furman wrote in alt.html
>
>>>Why not use tinyurl ?
>>
>>I do, it's a pain... also people have trouble copying my long links.
>
> go get your own short url maker script.
> http://www.gentlesource.com/
>
> That's what's on my site. Even has a bookmarklet ror your toolbar like
> tinyurl. On my site it is "Pets's Bookmarklet". Drag it up and give it a test
> run.


For $20 that sounds nifty but I don't have mysql running on that domain
(yet). Neat idea though. It would be nice to be able to permalink short
urls to any page.

I've pretty much got this worked out now with the shorter dates, no www,
/pg2pc5 for page & pic number (maybe /p2pc5 ?) and a new top level for
favorites shortcuts but yeah I'm still gonna have some unruly urls.

<http://www.edgehill.net/1/?SC=go.php&DIR=California/Bay-Area/San-Francisco/edgehill-garden/Nursery/plants/2007-07-20/crop&PG=1&PIC=0>
will soon be:
<http://edgehill.net/California/Bay-Area/San-Francisco/edgehill-garden/Nursery/plants/07-20-07/croppg1pc0>
and favorites can be displayed in shorcut folder like:
http://edgehill.net/gallery/photo-update/07-20-07

--
Paul Furman Photography
http://www.edgehill.net/1
Bay Natives Nursery
http://www.baynatives.com
Back to top
bizshop

External


Since: Jul 27, 2007
Posts: 2



(Msg. 10) Posted: Fri Jul 27, 2007 5:40 am
Post subject: Re: nicer url thoughts?
Archived from groups: per prev. post (more info?)

On Jul 27, 4:47 am, Toby A Inkster <usenet200....DeleteThis@tobyinkster.co.uk>
wrote:
> Paul Furman wrote:
> > and soon I'll have this:
> >http://www.edgehill.net/gallery/photo-update/2007-06-24?PG=1&PIC=1
>
> Try one of these:
>
> http://www.edgehill.net/gallery/photo-update/2007-06-24?1.1http://www....ehill.n
>
> > Also, is there any reason not to chop off the www:
> >http://edgehill.net/gallery/photo-update/2007-06-24
>
> Drop it. "www." is evil.
>
> > Oh, and I could change 2007-06-24 to 6-24-07
I collapse all my dates to 20070727 - eliminating the dashes and it is
ISO standard even!

>
> Don't do that. YMD is good: it's unambiguous. MDY is a weird-ass, ambiguous
> date format, used by a tiny proportion of the world's population.
>
> Is "/photo-update" really needed?
>
> --
> Toby A Inkster BSc (Hons) ARCS
> [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
> [OS: Linux 2.6.12-12mdksmp, up 36 days, 15:22.]
>
> Cryptography Challenge
> http://tobyinkster.co.uk/blog/2007/07/24/crypto-challenge/
Back to top
Toby A Inkster

External


Since: Jul 17, 2007
Posts: 111



(Msg. 11) Posted: Fri Jul 27, 2007 12:47 pm
Post subject: Re: nicer url thoughts?
Archived from groups: per prev. post (more info?)

Paul Furman wrote:

> and soon I'll have this:
> http://www.edgehill.net/gallery/photo-update/2007-06-24?PG=1&PIC=1

Try one of these:

http://www.edgehill.net/gallery/photo-update/2007-06-24?1.1
http://www.edgehill.net/gallery/photo-update/2007-06-24+1.1
http://www.edgehill.net/gallery/photo-update/2007-06-24?1,1
http://www.edgehill.net/gallery/photo-update/2007-06-24+1,1

> Also, is there any reason not to chop off the www:
> http://edgehill.net/gallery/photo-update/2007-06-24

Drop it. "www." is evil.

> Oh, and I could change 2007-06-24 to 6-24-07

Don't do that. YMD is good: it's unambiguous. MDY is a weird-ass, ambiguous
date format, used by a tiny proportion of the world's population.

Is "/photo-update" really needed?

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 36 days, 15:22.]

Cryptography Challenge
http://tobyinkster.co.uk/blog/2007/07/24/crypto-challenge/
Back to top
Paul Furman

External


Since: Jan 04, 2007
Posts: 100



(Msg. 12) Posted: Fri Jul 27, 2007 3:35 pm
Post subject: Re: nicer url thoughts?
Archived from groups: per prev. post (more info?)

Toby A Inkster wrote:

> Paul Furman wrote:
>
>>Also, is there any reason not to chop off the www:
>>http://edgehill.net/gallery/photo-update/2007-06-24
>
> Drop it. "www." is evil.

Thanks for confirmation. It looks good on a business card or in print
but otherwise seems entirely pointless. I don't even know why it exists
frankly.

>>Oh, and I could change 2007-06-24 to 6-24-07
>
> Don't do that. YMD is good: it's unambiguous. MDY is a weird-ass, ambiguous
> date format, used by a tiny proportion of the world's population.

I know but it's like metric. I use the international standard for file
management but it's still awkward for me to read & I'm personally more
comfortable with the new weird formatting.

> Is "/photo-update" really needed?

Yes, that's a new blog type feature which is not necessarily my best
work, just whatever I did this week. I've been sending emails with that
title for some time now and it seems sensible to have an archive on the web.

--
Paul Furman Photography
http://www.edgehill.net/1
Bay Natives Nursery
http://www.baynatives.com
Back to top
David Segall

External


Since: Jun 20, 2006
Posts: 69



(Msg. 13) Posted: Fri Jul 27, 2007 3:42 pm
Post subject: Re: nicer url thoughts?
Archived from groups: per prev. post (more info?)

Toby A Inkster <usenet200707.DeleteThis@tobyinkster.co.uk> wrote:

>Drop it. "www." is evil.
Why?
Back to top
Paul Furman

External


Since: Jan 04, 2007
Posts: 100



(Msg. 14) Posted: Fri Jul 27, 2007 6:50 pm
Post subject: Re: nicer url thoughts?
Archived from groups: per prev. post (more info?)

Toby A Inkster wrote:

> Paul Furman wrote:
>
>>Oh, and I could change 2007-06-24 to 6-24-07
>
> Don't do that. YMD is good: it's unambiguous. MDY is a weird-ass, ambiguous
> date format, used by a tiny proportion of the world's population.


Paul Furman wrote:

> /07-19-07/

Argh!

make that 7-19-07 (both work but the first is a perfect example why it's
confusing)
Back to top
Neredbojias

External


Since: Jul 17, 2007
Posts: 197



(Msg. 15) Posted: Fri Jul 27, 2007 7:25 pm
Post subject: Re: nicer url thoughts?
Archived from groups: per prev. post (more info?)

Well bust mah britches and call me cheeky, on Fri, 27 Jul 2007 15:42:13 GMT
David Segall scribed:

> Toby A Inkster <usenet200707.DeleteThis@tobyinkster.co.uk> wrote:
>
>>Drop it. "www." is evil.
> Why?

It stands for "Wicked Witch of the West"...

--
Neredbojias
Half lies are worth twice as much as whole lies.
Back to top
Display posts from previous:   
       Webmaster Forums (Home) -> HTML
Goto page 1, 2, 3
Page 1 of 3

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum