How to avoid display of filename in URL

This is a discussion on How to avoid display of filename in URL within the PHP Language forums, part of the PHP Programming Forums category; Jerry Stuckle wrote: > AnrDaemon wrote: >> >> And even more, it is w3c recommendation to NOT expose ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #21 (permalink)  
Old 02-26-2008
Toby A Inkster
 
Posts: n/a
Default Re: How to avoid display of filename in URL

Jerry Stuckle wrote:
> AnrDaemon wrote:
>>
>> And even more, it is w3c recommendation to NOT expose any underlying
>> technology by prefixing/suffixing URI's with technology-specific data
>> (s.a. ".php" or the like).

>
> That is not what W3C recommends. They only recommend not changing URLs.


Indeed. However, they do recommend the avoidance of technology-specific
URLs as a means to achieving the ultimate goal of stable URLs.

So it's counter-productive to go around *changing* existing technology-
specific URLs to more neutral ones; but a good idea to use technology-
neutral URLs for new pages.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 27 days, 17:56.]

Bottled Water
http://tobyinkster.co.uk/blog/2008/02/18/bottled-water/
Reply With Quote
  #22 (permalink)  
Old 02-26-2008
Thomas 'PointedEars' Lahn
 
Posts: n/a
Default Re: How to avoid display of filename in URL

Toby A Inkster wrote:
> Jerry Stuckle wrote:
>> AnrDaemon wrote:
>>> And even more, it is w3c recommendation to NOT expose any underlying
>>> technology by prefixing/suffixing URI's with technology-specific data
>>> (s.a. ".php" or the like).

>> That is not what W3C recommends. They only recommend not changing URLs.


Not true.

> Indeed. However, they do recommend the avoidance of technology-specific
> URLs as a means to achieving the ultimate goal of stable URLs.
>
> So it's counter-productive to go around *changing* existing technology-
> specific URLs to more neutral ones;


It is not, and the advisories make that clear:

http://www.w3.org/QA/Tips/uri-choose
http://www.w3.org/Provider/Style/URI

> but a good idea to use technology-neutral URLs for new pages.


ACK


F'up2 ciwam

PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:03 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0