Forums

How to make a link to download a file - correct path? (2 posts)

  1. tannin
    Member
    Posted 1 year ago #

    Sorry for the very basic question, but...

    I've uploaded a file to wp-content/uploads but I can't figure out the correct syntax/path for use as a link on a blog page.

    http://www.myblogsname.com/wp-conten...s/filename.pdf doesn't work.

    What should I be using? Thanks.

  2. ClaytonJames
    Member
    Posted 1 year ago #

    Paste the complete URL you used to create your link into your browsers address bar and hit the go button. If it doesn't work, you probably have an error in your path somewhere, and will get a 404. If it works, you probably have an error in your link construction. The path to the file needs to be absolute.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags