• alphachimp73

    (@alphachimp73)


    Based on the activity here, I thought my last post would present a quick response…hopefully, not a negative one. I’m just trying to upload some files that I can directly link too, rather than posting them on the blog, e.g. http://www.911businessideas.com/docs/GoogleCheatSheet.pdf
    Although FTP shows they’re there, webpage reads “not found”. What am I doing wrong?

    Previous post:
    Complete newbie here, so help’s really appreciated. I can’t seem to figure out why URL links showing as “not found” after FTP upload. I’ve created a separate directory outside of WP that’s named “docs”, e.g.
    Here’s URL for file:
    http://www.911businessideas.com/docs/GoogleCheatSheet.pdf
    URL: http://www.911businessideas.com
    FTP app shows that file is on server, but URL doesn’t properly link. Where should I be uploading files that don’t need to be linked within WP?
    WP is installed at:
    /htdocs/wp….
    Access to admin panel isn’t a problem & I can upload other content to the “wp-content/uploads”, but I don’t want to have these longtail URL’s to manage.
    I’d like to add additional HTML pages as subdomains in future. Where would those need be placed?

Viewing 5 replies - 1 through 5 (of 5 total)
  • stvwlf

    (@stvwlf)

    make sure you are using absolute paths in your link, not relative paths –
    /docs/GoogleCheatSheet.pdf should do. You must have the leading slash.

    Thread Starter alphachimp73

    (@alphachimp73)

    Thanks, stvwlf. I have the absolute links in there, but if you’ll notice on the link, it shows as “not found”.
    http://www.911businessideas.com/docs/GoogleCheatSheet.pdf
    This should link directly to the file & ask to “save as”.

    Clayton James

    (@claytonjames)

    I don’t think the directory itself is even being found.

    This just returns a 404…

    //911businessideas.com/docs/

    But this returns your directory browsing prohibited message…

    //911businessideas.com/wp-content/plugins/

    webjunk

    (@webjunk)

    First of all, would help to know is this a Linux/UNIX server or a Windows/IIS Server. Looks like windows. Have you checked permissions are properly set? And is this specific directory web accessible?
    If its an Apache server is there an .htaccess that might not allow pdf files to be loaded? Has to be something simple.

    Also if you want to link from within WordPress use the Page Links to plugin found at:
    http://wordpress.org/extend/plugins/page-links-to/
    That allows you to make links to anything, anywhere as if they are wordpress pages.

    stvwlf

    (@stvwlf)

    Hi

    I didn’t notice before that WP is installed in your root folder. I have seen in general the WP 404 handler operates from the WP install folder and on all its subfolders. When you install in the root, that means all folders. Since WP doesn’t have a permalink for a folder /docs/ it sees it as not existing – remember that all WP permalinks are for folders that don’t actually exist on disk.

    Possibly what you could do is use
    http://www.911businessideas.com/docs/ as a virtual folder – have a line in .htaccess (before the WP .htaccess code in that file) that redirects from http://www.911businessideas.com/docs/ to http://www.911businessideas.com/wp-content/uploads/

    That would allow you to use shorter URL’s, yet also keep WP happy as the actual URL would be in a location WP was aware of.
    Perhaps make /docs/ a subfolder and redirect from http://www.911businessideas.com/docs/ to
    http://www.911businessideas.com/wp-content/uploads/docs/

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Too Basic for a reply?’ is closed to new replies.