Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dFactory

    (@dfactory)

    Ok, let’s try this:

    1. Go to plugin folder/includes/functions.php
    2. Find line 426 and change this:

    return ($options['pretty_urls'] === true ? site_url( '/' . $options['download_link'] . '/' . $attachment_id . '/' ) : plugins_url( 'download-attachments/includes/download.php?id=' . $attachment_id ));

    to this:

    return ($options['pretty_urls'] === true ? home_url( '/' . $options['download_link'] . '/' . $attachment_id . '/' ) : plugins_url( 'download-attachments/includes/download.php?id=' . $attachment_id ));

    3. Check again and pls report here if that solves the issue

    Regards,
    Bartosz / dfactory

    Thread Starter Nisr

    (@nisr)

    5 stars review was added to your plugin for this fast great support. Problem is resolved and i hope that you’ll take this problem in consideration in the next upgrades of the plugin. wish u the best.
    Kind regards.

    Plugin Author dFactory

    (@dfactory)

    Thx,

    Yes, this fix will be available in the new version of the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘pretty urls page error’ is closed to new replies.