Reply to Re: nicer url thoughts?

Your name:

Reply:


Posted by J.O. Aho on 07/26/07 20:01

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

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