Quote from: goldsky at Jul 18, 2010, 08:24 AM
Your english is not bad.
But i don’t understand the question.
non FURL = http://localhost/index.php?id=4&sid=1&gid=63#1_63
FURL= http://localhost/gallery.html?sid=1&gid=63#1_63
If you want to make the Use Friendly URL alias path to be like http://localhost/gallery/pets.html?sid=1&gid=63#1_63 , check the Manager’s System Configuration inside Friendly URLs tab, and turn Use Friendly URL alias path to be on.
I want to replace "&" with "&" or fully frendly URL (gallery/album/), while HTML Validatator give me a warning:
unescaped & or unknown entity "&..."
Cause 1:
An ampersand was used on its own where the entity "&" should have been used, causing web browsers to think you were referring to an entity beginning with whatever letters comes after the lone "&".
Example:
Very often this is due to a link defined like this:
Bad:
<a href="http://www.example.com/cgi?x=123&y=456">
Good:
<a href="http://www.example.com/cgi?x=123&y=456">
All special characters in HREF should be encoded. "&" is a reserved character that begins an entity. (ex: ). "&" in an HREF field should be encoded as its equivalent entity "&", even when used as a separator for parameters in the URL. Before you make an opinion about this, please read this page carefully.
Solution:
Validator advice: Replace "&" with "&".
Cause 2:
You misspelled the name of a character entity (a string beginning with "&").
Example:
Bad &Arin;rhus University
Good Århus University
Solution:
Fix the spelling to match one of the names listed in Chapter 24 of the HTML 4 specification.
References:
* W3C spec:
http://www.w3.org/TR/html4/sgml/entities.html#h-24.2.1
Cause 3:
(Error message is Tidy: unescaped & or unknown entity "&#...", where ... are digits or "x" followed by hex digits).
Tidy does not always recognize valid numeric character entities.
This is a bug in Tidy and should be ignored.
Example:
This incorrect error occurs in cases such as the following, all 3 examples are correct HTML, tidy is just wrong:
Bad Just my €0.02 (2 Eurocents)
Bad Just my €0.02 (2 Eurocents)
Good Just my $0.02 (2 dollar-cents)
Solution:
Ignore the error message and hope someone fixes the bug in HTML tidy.