rejetto forum

Shortcut address length!

selkov · 6 · 1783

0 Members and 1 Guest are viewing this topic.

Offline selkov

  • Tireless poster
  • ****
    • Posts: 120
    • View Profile
When I copy a shortcut to a file like:
http://wavlbr.gotdns.com/S:/%20%20%20%20%20%20%20%20%20%20%20%20%20R%20E%20G%20I%20S%20T%20R%20Y%20%20%20T%20O%20O%20L%20S/Cter%20py/

And try to post it on my forum as a link it does not work. The length of the shortcut is too long.

Is there anyway to shorten it so it reads more like:
http://wavlbr.gotdns.com/S:/Cter20py/

Which is actually the file location and name?


Offline Unknown8063

  • Occasional poster
  • *
    • Posts: 96
    • View Profile
%20 is the space character.  I think you have several spaces in your file/folders, including a lump of leading spaces.  Is your OS Windows?  I didn't think it let you have leading spaces.  Maybe HFS does in the VFS...


Offline selkov

  • Tireless poster
  • ****
    • Posts: 120
    • View Profile
yes there are leading spaces.
I have no control over that.
That is the way they are.
Is there no way to eliminate that from the link?
Or at least shorten it after all it seems there asiging 5 charectors for 1 space. that does not make good sense to me.


Offline Unknown8063

  • Occasional poster
  • *
    • Posts: 96
    • View Profile
Without URL rewriting support, I think you're stuck with setting up individual virtual/real folders to point directly to those oddly named ones.

For simplicity though, you can use http://tinyurl.com/ to generate shortened links to post on forums.
« Last Edit: December 06, 2007, 08:48:22 PM by Unknown8063 »


Offline Foggy

  • Tireless poster
  • ****
    • Posts: 806
    • View Profile
There is only one way to shorten the url because you have so many spaces and that is
Menu > URL Encoding > (Disable)Encode Spaces

But I do not recommend this method for shrinking the url's because it introduces incompatibilities and makes it harder to follow the links because some programs think the link ends at the first space.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
indeed, if you just copy&paste an url with normal spaces on a forum, the forum will think the URL stops at the first space.
blank spaces are not allowed in URLs.

even we you type a space in your browser, it silently encode it to %20.
use tinyurl as adviced above.