Sign in to follow this  
Followers 0

Link to PDF gets changed

3 posts in this topic

I have been trying to create links to a couple of PDFs that I want my clients to be able to download or view when they click on the link. I uploaded the files through the WP media uploader to my media library, grabbed the URLs (not the attachment links) from the Edit Media pages and created basic text links on my page. When I click on the links, the URL gets changed from the direct link to the page URL+direct link, i.e., gets changed to“http:/”


I also tried sharing the files through Dropbox, hoping an external link would work, but again, it adds to the beginning of the Dropbox link. Other external links to web sites work fine on this page--it's just the links to PDFs that get changed.


Thanks in advance for any help!


Share this post

Link to post
Share on other sites

I have no idea how this fixed my problem, but I created a test page, used the WP post editor to create the links to the PDFs, copied the HTML and pasted it into my "Get Started" page. Now it works--very strange, but I'm glad it works now.

Share this post

Link to post
Share on other sites



Not sure what your problem was/is, as when I clicked on your link in your post above, it went straight to the PDF for me to read. As you say this is now resolved, I have marked so.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • Can we add a URL link to a Media Box image?
      By ipitts+
      We are using Pagelines >> DMS2 theme. We are using the DMS2 Media Box module on several pages throughout our site. The media box includes an image thumbnail with hyperlinked text (below the thumbnail - located in the embedded HTML text editor).  We would like for users to be able to click on the image in addition to the accompanying text. Is there a way to add a hyperlink on the image itself?
      Please see the attached screenshot. You'll see we have "Compatibility Matrix" thumbnail image & text within the "Text & Embedded HTML" section that provides an <a href="...."></a> to direct visitors to another page. 
      We tried to follow this post (, but it did not help us solve our challenge. 
      Thank you very much for your help,
      Marie Thiele
      Marketing Coordinator, Syn-Apps LLC
      media box.tiff
    • Make 5 different media box images and text hyperlinks to 5 pages elsewhere on site
      By mnagillum
      As noted elsewhere on the Forum, the Media Box section doesn't have an option to enter a hyperlink to link to another page on my site, Can someone please advise me on the exact code to use in my child theme (or Jetpack Appearance file) to make the five media boxes (Program Design, etc.) clickable links to the five corresponding areas shown in the menubar? Thanks in advance for any/all help.
    • Domain Alias
      By saur0
      I have set up a website and have another domain name which I wish to use with it, I have set up a domain alias with my hosting provider, but when I visit the site the pagelines images are not visible. Is there anything I can do to resolve this situation.
    • Changed URL now fonts and front editor screwed up
      By jharri74+
      Like a lot of people, I have built my wordpress (version 4) website in it's own folder. Not the top level of the hosting server.
      The domain was still pointing to the old website also in it's own folder. While i was building the the new website, the IP address/folder( was pointing to the website i was building. I eventually pointed the domain ( here.
      Thats when things got a little screwed up. Especially when I made the change in wordpress general settings.
      WordPress Address (URL):
      Site Address (URL): the same as above)
      So after fixing the 505 and 404 issues (editing the .htaccess file in top level of this website) that now follow changing the url, the first thing i noticed was that the fonts weren't embedding.
      In my child theme's css file, i had to change:
      @import url("../dms/style.css");
      @import url("fonts/stylesheet.css");
      @import url("../dms/style.css");
      @import url('');
      The pagelines font/symbols  for dropdown and slider arrows aren't loading.

      So now whats happening is, when I launch the dms editor, it goes to a page that "does not exist". I'm thinking thats because the homepage was is now
      When i click on the links in the navigation (Home, about us, etc), it takes me to the page, but I don't get the dms editor with options to add anything, edit the sections or anything. Just the page as i would see it if i were not logged into wordpress.
      I'm using:
      wordpress 4
      DMS 2 with a child theme
      hosting: plan: 1&1 Unlimited
    • Changing domain directory using wordpress "settings" on the side bar(left) broke the site
      By htjohn
      Hi , 
      Website URL:
      Framework Version: 2.1.8
      WordPress Version: 4.0
      Plugins in Use: poppy
      Server/Host: Hostgator 
      I was trying to change the directory name for my site from I went to wordpress left nav > settings > change the site url and directory. When I clicked on save and visit the site. It was stripped of css and js, I didn't even see dms or word press anymore. 
      I even implemented 
      update_option('siteurl',''); update_option('home','');   on functions.php but that didn't work... :/ I need this fixed ASAP.    Thanks ,   John