I recently published an article on creating a pdf file and linked to a free funny pdf of mine as an example at the end of the article.
The link is right when I'm in editing mode, but as soon as the hub is published Huppages adds extra numbers to my link making the link worthless.
I am new to Hubpages so I have to ask, how do I stop HubPages from inserting extra numbers into my link? Or do I have to link to something else without a % sign in the url?
Does your link contain special characters? like +, (, & etc.
You most likely have spaces in your file name and when parsed it converts them to an HTML attribute which is '%20'.
So the problem will be at the other end. If you've uploaded the PDF do it again, and rename the file so it doesn't have spaces. Or use hyphens or underscores to replace the hyphens.
Back in the 90s I remember when learning the ways of the HTML edit that using spaces in graphic files would see those image links break completely.
How about other characters like '+' are they ok to use in a url?
I'm not entirely sure. I've always kept my file names neat and tidy and stuck with underscores and hyphens (or a combination of the two) rather than play around with other symbols which may play havoc with different servers or even within different file types. Keeping it simple avoids all sorts of issues.
But I'll see what I can find.
Also, it's a good habit to get into (having unspaced file names). Because of the way that hyperlinks work.
This is your PDF:
http://www.thingsgoingsmoothly.com/taco bell diet.pdf
This is what it looks like as I suggested:
Notice the difference? In the second bunch of examples the links are automatically parsed and become live. Whereas the first one will send a person to http://www.thingsgoingsmoothly.com/taco
* From Reserved characters and words a list of characters to avoid:
< >[ ] Brackets
= Equal sign
\ / Slashes
, . : ; Comma, Period, Colon, Semicolon
This site recommends to avoid the Plus Sign (+)
Blogger still adds plus sign to image urls, I wonder how they do. But, lots of good info from you. Thanks
If Blogger allows it then they've got things set up on their server to make it okay. Somewhere else though, it might cause grief. It's not usually a problem with a browser, but with the server side.
Last decade there were a few things that Geocities would throw a wobbly over. It could have been the capitalisation of file extensions. It would look fine when previewed on your desktop, but then you'd upload it and it wouldn't show.
At HubPages, when it comes to graphics, it doesn't matter about file names or whether file extensions are in upper or lower case. Or even if there are spaces in the file name, because it gets uploaded, given a new file name, and also optimised.
* The pound sign is a valid character to use in a file name but is not accepted in hyperlinks in Office documents.
Thanks for the insight and information.
I have temporarily removed the link altogether so as not to detract from the article. I will add it again as soon as I can find the original of the file I was linking to and upload it with a new file name. (might just have to download from my own blog to get a copy)
by kab3 years ago
I often make a printable .PDF file and link to it in a lens. Sometimes I the page needs a few.In the past I hosted these on my own domain and linked to them, however, now with a 2 link maximum to a domain this...
by Marisa Wright6 years ago
As many of you know, Google recently introduced a feature to identify authors around the web. To be recognized as an author, you need to create a Google profile and add links to your profiles on the websites and...
by Lily Rose7 years ago
Anyone else getting a lot of this lately? This week alone I've had three different newbies leave comments on several of my hubs with links back to their own hubs - so annoying!I'm all for supporting and helping...
by Dr. John Anderson20 months ago
"John Mueller said that external links, links on your web site that point to outside web sites (or outbound links) are not a ranking signal. Just to be clear, links are a ranking factor - but you linking out to...
by RockyMountainMom3 years ago
I'm about to publish a hub. My goal with this hub is to promote the idea of writing for Mesothelioma Awareness day. I took out one link to cancer information already, but am still getting the warning.I think...
by Billie Kelpin2 years ago
So, I understand that the question-answer section is to inspire hubs, BUT it feels a little disingenuous to use the information everyone provided, especially when that information would fit nicely in a list. I...
Copyright © 2017 HubPages Inc. and respective owners.
Other product and company names shown may be trademarks of their respective owners.
HubPages® is a registered Service Mark of HubPages, Inc.
HubPages and Hubbers (authors) may earn revenue on this page based on affiliate relationships and advertisements with partners including Amazon, Google, and others.