Why does pbwiki change my links?
Dear all,
we are getting in trouble with editing links. In particular, we need to embed in pages links from http://www.ilsole24ore.com, but the wiki seems to be unable to maintain the correct link. When we try to plug the link into a page, the hyperlink changes and redirects to a "page not-found" link. For example, this is the original link: http://www.ilsole24ore.com/art/SoleOn...
And this is the link in the pbwiki page:
http://www.ilsole24ore.com/art/SoleOn...
Why does PBwiki change the original link?
Thanks in advance!
we are getting in trouble with editing links. In particular, we need to embed in pages links from http://www.ilsole24ore.com, but the wiki seems to be unable to maintain the correct link. When we try to plug the link into a page, the hyperlink changes and redirects to a "page not-found" link. For example, this is the original link: http://www.ilsole24ore.com/art/SoleOn...
And this is the link in the pbwiki page:
http://www.ilsole24ore.com/art/SoleOn...
Why does PBwiki change the original link?
Thanks in advance!
2
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The best answer from the company
-
URLs get encoded using the standard PHP library (the urlencode function), which does it all according to common conventions. The vast majority of servers work just fine with this encoding -- in fact, this is the first instance of it not working that I've personally seen. For historical reasons, spaces get turned into pluses, which works perfectly most of the time.
That being said, there are alternative ways for us to encode URLs that might be better. I'm going to look into this and will post here if things change. In the meantime, Guy's recommendation to use TinyURL or a similar service is an excellent one.
The company and 1 other person say
this answers the question
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?It's one of the oldest unresolved bugs in PBwiki, lingering since the early days. It stems from a fundamental misunderstanding of URI encoding schemes. Last time I looked, it was listed in their bug tracking system; I thought they had fixed it, at one point.
I'm trying to find a workaround, but I have been unsuccessful; all attempts to force the editor to render the URL properly still result in the spaces being replaced with plus signs.
Until they fix it, your best best might be to use TinyURL to create a link that has no spaces, and use that. I have created an example here.
I’m surprised this still doesn't work properly
1 person says
this answers the question
-
Inappropriate?URLs get encoded using the standard PHP library (the urlencode function), which does it all according to common conventions. The vast majority of servers work just fine with this encoding -- in fact, this is the first instance of it not working that I've personally seen. For historical reasons, spaces get turned into pluses, which works perfectly most of the time.
That being said, there are alternative ways for us to encode URLs that might be better. I'm going to look into this and will post here if things change. In the meantime, Guy's recommendation to use TinyURL or a similar service is an excellent one.
The company and 1 other person say
this answers the question
-
Inappropriate?Could you change to using %20 instead of + in the links? This seems like it would also solve the problem when linking to a file on a network drive with spaces on it.
-
Inappropriate?BTW, this is still a problem using Firefox on a mac. Converts oddly. Will work around with tinyurl but be nice to have a fix!!
Loading Profile...




EMPLOYEE

