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

  1. Alekie
    Posted 3 years 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 mod_rewrite.c>
    RewriteEngine On
    RewriteBase /ticta/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /ticta/index.php [L]
    # 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
    Posted 3 years 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