• Resolved jmteshima

    (@jmteshima)


    The shortlink and download URL gives a 404 error. The URL added into the plugin when copied into the browser works.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Barry Kooij

    (@barrykooij)

    Hey @jmteshima,

    Sorry to hear that. A couple of questions to help us find out what’s going on.

    1. What version of Download Monitor are you using?
    2. What version of WordPress are you using?
    3. Are you using any of our extensions? If so, which ones and what versions are they?
    4. How are you adding the downloads to your content? Are you using the shortcode? If so, can you show me how you’re using the shortcode?
    5. Are you using custom template files? See this for more information: https://www.download-monitor.com/kb/custom-template-upgrading/

    Kind Regards,

    Barry Kooij

    @jmteshima, I had the same issue and it was because the new version of Download Monitor (4.0.5 here) seemingly has an issue with WordPress “pretty permalinks”, similar to this issue from 11 months ago.

    In the WordPress admin backend, try setting “Settings → Permalinks → Common Settings” to “Plain”. Download links should now look like http://example.com/?download=slug. If that resolves the issue, you can get a permanent workaround by placing this line into your .htaccess file:

    RewriteRule "^download/(.*)$" "?download=$1" [PT,L]

    Or more properly, these lines (though I did not test these):

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /
    RewriteRule "^download/(.*)$" "?download=$1" [PT,L]
    </IfModule>

    After that, you should be able to re-enable your pretty permalinks settings and it should still work.

    @barrykooij
    I’m having this same issue. I removed the pretty links and everything worked so I tried @mattanius suggestion with the new coding in the .htaccess file then re-enabling the pretty links but it went right back to the 404 errors. Any other ideas?

    1. What version of Download Monitor are you using? 4.0.6
    2. What version of WordPress are you using? 4.9.2

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

The topic ‘404 errors –’ is closed to new replies.