URL with two dashes
-
Friend of mine tried to install WP on his site but couldn’t get it working because the url had two dashes in the name. Like for instance:
word–press.org
When you viewed the source the links to the styesheet where messed up. Instead of url being dashes it was
"& # 8 2 1 1;"
. So for instance it looks like this:word
& # 8 2 1 1;
press.orgI had to add the spaces in order for it to show up right. Otherwise it looks like a single dash.
Now in the functions.php there is some function in there that calls rawurlencode(), but according to that the “-” character is NOT supposed to get encoded.
– –
Anyone have an idea of what’s going on?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘URL with two dashes’ is closed to new replies.