• Resolved hopptaustralia

    (@hopptaustralia)


    Hi, I had input some files into this plugin and i had input the direct file link into browser window but it gives me a 403 forbidden error. while when i used the attachment link, it tells me file not found.

    the way i hope to use this plugin in my website is to for people to be able to go to the link i had set up for the direct file and be able to open them in a new window. I hope to hear from your favorable reply. thanks!

    https://www.ads-software.com/plugins/simple-download-monitor/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter hopptaustralia

    (@hopptaustralia)

    so… i had managed to find a way to hopefully resolve it…

    i did it by putting in the following code in .htaccess

    Options +FollowSymLinks
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    but the attachment file link still states that file not found. i prefer to use that link as it is much shorter! please help!

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi does the file you are trying to attach exist? Does that file have some kind of security restriction?

    Thread Starter hopptaustralia

    (@hopptaustralia)

    hi… the file that i am trying to attach is in my wordpress’s media library.. using the direct file link works but the attachment link doesnt work… and the file is a normal pdf file that i have.. so i doubt it will have any security restriction….

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Can you share an example of the URL for your file? Remember I am only asking for an example ?? not your URL.

    Thank you

    Thread Starter hopptaustralia

    (@hopptaustralia)

    ?? here goes…

    the example link of the direct file = /test/wp-content/uploads/dlm_uploads/2015/12/dfrtghu.pdf

    but the attachment file link = test/dfrtghu/

    which i have no idea where the attachment link is pointing at…

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, your file should include the full URL path for example https:// or https://.

    So your file URL path would be something like.

    [https://youriste.com/test/wp-content/uploads/dlm_uploads/2015/12/dfrtghu.pdf]

    or if it is a secured SSL site.

    [https://youriste.com/test/wp-content/uploads/dlm_uploads/2015/12/dfrtghu.pdf]

    That is why you are receiving 403 forbidden error message.

    Thread Starter hopptaustralia

    (@hopptaustralia)

    is that for the attachment file?
    as the attachment file is stating that it could not find the page that the link is pointing at .. and if i could use the attachment link as a link would be nice…..

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Yes that is for the attachment file.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    If you have any problems understanding or need more information please view the following instructions.

    Thank you

    Thread Starter hopptaustralia

    (@hopptaustralia)

    Hi… hrmm thats weird.. for the attachment file : i had put in the https:// in front of the link like a full link but when the browser still shows the page cant be shown as the https:// was eaten off.

    example:

    keyed in: [https://youriste.com/test/wp-content/uploads/dlm_uploads/2015/12/dfrtghu.pdf]

    browser showed: youriste.com/test/wp-content/uploads/dlm_uploads/2015/12/dfrtghu.pdf

    & error message: Opps! the page cant be found.

    but for the direct file link… it shows up correctly.. no 403 error no nothing.

    and 403 error and page not found are 2 separate errors right?

    Thread Starter hopptaustralia

    (@hopptaustralia)

    thanks for your fast response and patience!!

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Yes that is correct 403 and page not found are two different errors. Are you able to display that file in your browser without any errors? For example typing the full URL on the browser?

    Thread Starter hopptaustralia

    (@hopptaustralia)

    the direct file link: https://hoho25974.staging-cloud.partnerconsole.net/test/wp-content/uploads/2015/11/2015-Hoppt-Brochure-with-Additional-Australian-Contacts-English.pdf

    attachment link: https://hoho25974.staging-cloud.partnerconsole.net/test/2014-hoppt-brochure-australian-contacts/

    but i had managed to add in another file .. if the extra word of resource center in the URL .. the page shows up.. I tried deleting the file and re-uploading it.. the URL is still wrong.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, the problem is not related with the plugin. This is more a permissions issue with your file or a corrupted path. You should get in contact with your host or who ever is holding that file.

    Thread Starter hopptaustralia

    (@hopptaustralia)

    thanks MBRsolution for your help! it is all good now!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘403 forbidden on direct file open/downloads’ is closed to new replies.