You are here: Re: nicer url thoughts? « HTML « IT news, forums, messages
Re: nicer url thoughts?

Posted by Paul Furman on 07/26/07 19:02

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 :-) 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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация