WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress .htaccess issue while rewriting download monitor custom urls (2 posts)

  1. Alekie
    Member
    Posted 1 year ago #

    Here is my htaccess file:

    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /ticta/
    RewriteRule ^download-resources/([^/]+)$ http://localhost/ticta/wp-content/plugins/download-monitor/download.php?id=$1 [L]
    </IfModule>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /ticta/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /ticta/index.php [L]
    </IfModule>
    
    # END WordPress

    and this is the url it generates when i click the download button in the the download monitor page:

    Not Found

    The requested URL /tictaticta/wp-content/downloads/2011/08/Bookboon/Accounting/basics-of-international-financial-reporting.pdf was not found on this server.

    I have been on this for 3 days, tried anything found on the net, i need to submit the project ASAP

    :( HELP......

  2. Alekie
    Member
    Posted 1 year ago #

    Turns out the file permission in the server were not allowing wordpress to execute the htaccess file.

Topic Closed

This topic has been closed to new replies.

About this Topic