WordPress.org

Ready to get started?Download WordPress

Forums

Download Monitor
Permalinks (3 posts)

  1. kbirchmore
    Member
    Posted 1 year ago #

    If I change the permalinks setting to anything but DEFAULT this module breaks on me. I am not vhanging the custom URL for downloads just the permalink settings for the entire website.

    Any one have any ideas? I would like to use "pretty" permalinks as they look more professional.

    http://wordpress.org/extend/plugins/download-monitor/

  2. kbirchmore
    Member
    Posted 1 year ago #

    Anyone?

    The permalinks are not working the way I though they would.

    I have

    http://test.chunkbait.com/wp-content/uploads/downloads/2013/01/ACHletter21-MA.pdf

    and what I want to see is http://test.chunkbait.com/PDF/ACHletter21-MA.pdf as the URL in the address bar. The pretty URL takes me there but the url is not a "pretty url" I entered.

    How can I do a rewrite rule so my URL shows my pretty permalink and not the ugly real link?

  3. thepnerd
    Member
    Posted 1 year ago #

    Same issue here. See below for more details. Thanks for any assistance!

    I have been using Download Monitor for a long time. I don't know if this is a new issue, or one that I never noticed before.

    I can't seem to find any similar threads that solve my problem, so I ask your help.

    Today I uploaded a new file, which I only do occasionally, and I noticed that when I view the file in the browser (in this case it is a pdf file), the url is not displayed as I expect although the correct file is shown.

    WP and all plugins are up to date as of today.

    The url form download monitor is : http://www.site.com/downloads/filename.pdf

    But in the browser, this shows as:

    http://www.site.com/wordpress/wp-content/uploads/filename.pdf

    My expectation is that the browser would show it as:

    http://www.site.com/downloads/filename.pdf

    My wordpress is in a subdirectory (public_html/wordpress)

    My .htaccess in public_html is:

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /
    #RewriteRule ^downloads/([^/]+)$ http://www.site.com/wordpress/wp-content/plugins/download-monitor/download.php?id=$1 [L]

    RewriteRule ^downloads/([^/]+)$ /wordpress/wp-content/plugins/download-monitor/download.php?id=$1 [L]

    </IfModule>
    <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

    Any ideas of how to have the correct (or expected) url display in the browser?

    Thanks everyone in advance!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.