Hi,
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:
http://www.thingsgoingsmoothly.com/tacobelldiet.pdf
http://www.thingsgoingsmoothly.com/taco-bell-diet.pdf
http://www.thingsgoingsmoothly.com/taco_bell_diet.pdf
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:
* Asterisk
< >[ ] Brackets
= Equal sign
" Quotes
\ / 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 Kate Swanson6 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 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 Dr. John Anderson2 years 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 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 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 Sherry Haynes3 months ago
Can someone help me figure out the improvements I need to make in my articlehttps://hubpages.com/health/10-Womens-F … MotivationIs it about grammar or the links?
Copyright © 2018 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.
terms of use privacy policy (0.69 sec)