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 Kerri Bee 5 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 will not work. Perhaps if we could upload a file that could be downloaded, it...
by Kate Swanson 8 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 blogs where you write (which includes your HubPages sub-domain).However there is...
by Billie Kelpin 5 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 asked a question about recipes and received lots of great replies. How do I make a...
by RockyMountainMom 5 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 that this hub, without links to the information, would be silly. And I...
by Victoria Van Ness 15 months ago
What's the point in keeping us from linking to our own work in our articles? That's how we increase traffic to our articles!
by Lily Rose 9 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 new hubebrs, but not at the expense of my own traffic. This hasn't happened...
Copyright © 2020 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.
HubPages Inc, a part of Maven Inc.
|HubPages Device ID||This is used to identify particular browsers or devices when the access the service, and is used for security reasons.|
|Login||This is necessary to sign in to the HubPages Service.|
|HubPages Traffic Pixel||This is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.|
|Remarketing Pixels||We may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.|
|Conversion Tracking Pixels||We may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.|