Quoth Mihael Zadravec at 01/10/07 19:55...
Hello!

What would you consider to be better:

[1] www.domain.com/index.php/something <http://www.domain.com/index.php/something>

 or

[2] www.domain.com/something.com <http://www.domain.com/something.com>

or

[2] www.domain.com/index.php?page=something <http://www.domain.com/index.php?page=something>

I know that the best would be www.domain.com/something <http://www.domain.com/something>, but there is no mod_rewrite option enabled..

Well, the first thing that I would do would be to seek to enable mod_rewrite, but [1] would be second best choice, as it does not involve a query string.

Whilst [1] is not a "human friendly" URI, it is much easier to work with when using a software user agent (I have written these before), because there is no query string to parse. To software, having index.php in the middle of a URI is no worse than having "some-directory".

However, mod_rewrite is still the best option. If you are not running the server yourself, you need to talk to your hosting provider and convince them that this is the way that things are done nowadays.

Cheers

M

--
Matthew Smith
IT Consultancy & Web Application Development
Business: http://www.kbc.net.au/
Personal: http://www.smiffysplace.com/
LinkedIn: http://www.linkedin.com/in/smiffy


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to