Support » Fixing WordPress » WordPress .htaccess issue while rewriting download monitor custom urls

  • Resolved Alekie

    (@alekie)


    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……

Viewing 1 replies (of 1 total)
  • Turns out the file permission in the server were not allowing wordpress to execute the htaccess file.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress .htaccess issue while rewriting download monitor custom urls’ is closed to new replies.