WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress not allowing me to load a file I upload. (11 posts)

  1. happee_eb
    Member
    Posted 2 years ago #

    Hi,

    I own a WordPress website and recently I bought an online magazine script. In order for this script to work, I need to upload all the necessary files on my server. The folder (“emag”) that is to be uploaded has xml, html, swf files etc. Uploading the folder is not a problem.. but wordpress keep giving me the “page not found” error.
    I cannot view the html file on my server which has this
    simple url >> mysite.com/emag/index.html

    It seem to me that wordpress is “overriding” any file that I upload manually.

    Anybody can help me with this?
    I tried uploading the “emag” folder in >> wp-content/uploads/emag
    but I still got the “page not found” error.

    Help me? Anybody? :(

  2. ClaytonJames
    Member
    Posted 2 years ago #

    Any thoughts on uploading the directory to your wordpress root using an ftp client, and configuring its use from there, rather than burying it in /wp-content/uploads?

    What do the instructions that came with the script tell you to do? I suspect when it says to "upload to your server", it may be referring to the root directory. That being said, it's not likely to be a WordPress related issue.

  3. WordPress won't override a physical folder. If you have the folder /emag/, WP defers to it.

    What script is this?

  4. happee_eb
    Member
    Posted 2 years ago #

    Thanks for the replies.

    The thing is, I am trying to find out how WordPress behave and not if the script work or not.

    If I upload an image.jpg in the root directory, and I typed "mysite.com/image.jpg", my website shows me a "page not found" wordpress template.

    Is that common behaviour for the wordpress platform? Where it will override any file I upload manually and direct me to an error page?

    I hope this makes sense.

    @Ipstenu: The script I bought is from 3d-book (dot) com. I like the script and it works fine on my desktop, but having issues displaying it on my site.

  5. If I upload an image.jpg in the root directory, and I typed "mysite.com/image.jpg", my website shows me a "page not found" wordpress template.

    Not common behavior at all. If I do that, it works fine: http://ipstenu.org/apple-touch-icon.png (that's a phsycial file).

    What's in your .htaccess?

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    Is that common behaviour for the wordpress platform?

    Nope, it isn't. I can bring up a variety of images, music, etc that I keep in folders on my install....

  7. ClaytonJames
    Member
    Posted 2 years ago #

    Just thinking out loud here, but is there any chance that there might be a sub-directory involved in the wordpress installation? Or is everything installed and served from the root of your domain?

  8. Doesn't matter, Clayton. I have /wordpress running out of /, and then folders for /gallery and /wiki elsewhere. never had a problem.

    WP always defers to 'real' folders. 99% sure it's a .htaccess error :)

  9. ClaytonJames
    Member
    Posted 2 years ago #

    I was actually thinking about the placement of the /emag directory in the event that wordpress is installed in a sub-directory. My thought being, that if wordpress was at //site.com/blog, and the emag directory was being placed in //site.com/emag instead of //site.com/blog/emag; would the result be the 404. I also wondered about how the script might behave if wordpress was located in a sub-directory but being served from root. ...But, it didn't seem to run from /wp-content/uploads/emag either, so obviously I must be way over-thinking this one. My bad.

  10. happee_eb
    Member
    Posted 2 years ago #

    Hi guys,

    I have resolved the issue. It looks like the fault was with my webhosting. Something with a "hard drive fault" and "the new server not having PDO extensions"... whatever that means. -__- I'm not a techy person at all. :P

    Anyway, my site is up and I uploaded the "emag" folder at the root, typed the url on my browser and the online magazine is LIVE on my wordpress site! :'D I'm crying happy tears!

    Thanks everyone! :D

  11. ClaytonJames
    Member
    Posted 2 years ago #

    Nice! No need to thank anyone on this one... You're the one who actually did all the work. Glad you got it working!

Topic Closed

This topic has been closed to new replies.

About this Topic