WordPress.org

Ready to get started?Download WordPress

Forums

Delightful Downloads
[resolved] Odd Glitch/Issue (6 posts)

  1. mrb206
    Member
    Posted 1 year ago #

    I noticed that some crawlers are hitting and downloading entire files, which is throwing off the download counts:

    ---------------------------------
    Host: 199.21.99.117
    /site/?ddownload=419
    Http Code: 200 Date: Feb 16 08:16:18 Http Version: HTTP/1.1 Size in Bytes: 1048576
    Referer: -
    Agent: Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)

    /robots.txt
    Http Code: 200 Date: Feb 16 13:42:19 Http Version: HTTP/1.1 Size in Bytes: 349
    Referer: -
    Agent: Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)

    /site/?p=208
    Http Code: 301 Date: & Feb 16 14:35:56 Http Version: HTTP/1.1 Size in Bytes: -
    Referer: -
    Agent: Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)

    /site/?ddownload=381
    Http Code: 200 Date: Feb 16 15:06:05 Http Version: HTTP/1.1 Size in Bytes: 1048576
    Referer: -
    Agent: Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)
    ---------------------------------

    I've blocked that bot in my robots file, but I thought I'd bring this to your attention.

    Also, it would be cool if we deleted downloads from the log file, it would automatically reduce the number of downloads for that file. Presently, we have to edit the download numbers manually.

    http://wordpress.org/extend/plugins/delightful-downloads/

  2. A5hleyRich
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there,

    Thanks for pointing this out. I'll address the bot issue in the next update.

    As for the total counts on deletion, I may add an option to do this in the future, however I've got quite a few more features I want to implicate before hand. I'll definitely add it to the to do list though.

    Regards,

    Ashley

  3. mrb206
    Member
    Posted 1 year ago #

    Until then, where does the plugin store the download log info? I've looked at my sql database, but don't see 'ddownloads' tables or anything indicating it's for this plugin. I wanted to do some log/count clean up this weekend, but can't seem to find that information on my server.

  4. A5hleyRich
    Member
    Plugin Author

    Posted 1 year ago #

    You'll find the download counts within the postmeta table, under the meta_key: _dedo_file_count.

    Each individual log is stored within the posts table, with the post_type of dedo_log. However, he way log files are stored is something that is going to be addressed in the next update, as at present blogs with a high amount of downloads will quickly fill the posts table up, which could affect site performance.

    I plan on having the logs stored in a separate table as you said, and on plugin upgrade automatically move the log files to the new location. Until then, removing them manually is going to be quite cumbersome.

    Ashley

  5. mrb206
    Member
    Posted 1 year ago #

    Awesome, thx! I'm OK with the removal process, but I wanted to download that data to see how many duplicates I have.

    Sounds like your forthcoming changes will be pretty awesome. But even now, this plugin is the best download counter out there, IMO.

  6. A5hleyRich
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the positive feedback! Its always appreciated :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.