This is a discussion on Re: URLing schemes and elegance within the PHP Language forums, part of the PHP Programming Forums category; anytime I see "index.php" or "index.html" in a URL I think their web guy ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
anytime I see "index.php" or "index.html" in a URL I think their web
guy must be a doofus. But specific to your question.. I'm using something like: http://talks.php.net/?page=Web+Services and back to my peeve.. what's with urls like /information/information.html /calendar/calendar.html /contact-us/contact-us.html etc.. morons! ng4rrjanbiah@rediffmail.com (R. Rajesh Jeba Anbiah) wrote in message news:<abc4d8b8.0406220312.385015b5@posting.google. com>... > Bit OT, but PHP oriented style issue... > > Just curious to know how many of you really use the URLs like > http://talks.php.net/index.php/Web+Services > And how many of you really liked or found it elegant? TIA |
|
|||
|
"Brad Kent" <bkfake-google@yahoo.com> wrote in message
news:7ad3d45b.0406221221.20d5d0c6@posting.google.c om... > anytime I see "index.php" or "index.html" in a URL I think their web > guy must be a doofus. > But specific to your question.. I'm using something like: > http://talks.php.net/?page=Web+Services > > and back to my peeve.. what's with urls like > /information/information.html > /calendar/calendar.html > /contact-us/contact-us.html > etc.. > morons! Err, have you developed in a team before? Keeping the filename in the URL, as well as using unique names for files, make it easier for others to understand your code. If there's a problem in a page, all they have to do is take quick glance at the URL to find the right file to examine. Filtering all page requests through a single script is stupid. You are basically just replicating what the web server does, which is resolving a URL to the correct page. At the same time you create a single point of failure. |
|
|||
|
bkfake-google@yahoo.com (Brad Kent) wrote in message news:<7ad3d45b.0406221221.20d5d0c6@posting.google. com>...
> anytime I see "index.php" or "index.html" in a URL I think their web > guy must be a doofus. > But specific to your question.. I'm using something like: > http://talks.php.net/?page=Web+Services > > and back to my peeve.. what's with urls like > /information/information.html > /calendar/calendar.html > /contact-us/contact-us.html > etc.. > morons! Thanks for your comments. I see your points. URLs like /information/information.html are becoming popular because of some SEO papers. -- | Just another PHP saint | Email: rrjanbiah-at-Y!com |
|
|||
|
"Chung Leong" <chernyshevsky@hotmail.com> wrote in message news:<2--dnRQp_OboLEXdRVn-gg@comcast.com>...
> "Brad Kent" <bkfake-google@yahoo.com> wrote in message > news:7ad3d45b.0406221221.20d5d0c6@posting.google.c om... > > anytime I see "index.php" or "index.html" in a URL I think their web > > guy must be a doofus. > > But specific to your question.. I'm using something like: > > http://talks.php.net/?page=Web+Services > > > > and back to my peeve.. what's with urls like > > /information/information.html > > /calendar/calendar.html > > /contact-us/contact-us.html > > etc.. > > morons! > > Err, have you developed in a team before? Keeping the filename in the URL, > as well as using unique names for files, make it easier for others to > understand your code. If there's a problem in a page, all they have to do is > take quick glance at the URL to find the right file to examine. > > Filtering all page requests through a single script is stupid. You are > basically just replicating what the web server does, which is resolving a > URL to the correct page. At the same time you create a single point of > failure. having unique filenames makes perfect sense.. but since they're unique what's with all the separate dir names of the same name holding a single html file? /path/information.html /path/calendar.html /path/contact-us.html works just as well. part of the problem I see with sites using my peeve is that they tend to bork up on their navigation as well.. forgetting to use a relative or absolute path to get to the other pages. here's a site I just visited this morning that illustrates many of these peeves/issues... http://www.fullmoonrun.com/ * a directory for each page.. * including "index.php" in their urls. * not knowing how to link to the other pages once they're in their directory mess |
|
|||
|
On Tue, 22 Jun 2004 13:21:28 -0700, Brad Kent wrote:
> and back to my peeve.. what's with urls like /information/information.html > /calendar/calendar.html > /contact-us/contact-us.html > etc.. > morons! Having worked for an online mall, we were told that such repetition is one way to force a higher ranking in some search engines. Some designers at that mall likewise have paragraphs full of key words, using CSS to hide this nonsense from the end user. La'ie Techie |