|
The advantages of using this kind of URLs are that search engine robots will index the site better, it becomes easier for humans to read the URL, and you avoid revealing which server technology you're using. Since the URLs don't contain server specific file extensions, like .asp, .cf, .cgi or .jsp, this will also make it easier to change the technology used on the server, should that become necessary.
If you choose to use query strings in your URLs, it's important to encode any ampersands, &, to their HTML entity, &. If you don't, some web browsers will, as they should, see the ampersand as the start of an HTML entity, and if the text following immediately after the ampersand matches an HTML entity, the browser will convert the URL, and in most cases break the query string.
|