Forums

.htaccess causing 500 internal sever error, INSPIRATIONS?? (4 posts)

  1. wrk
    Member
    Posted 10 months ago #

    Hey all,

    Unfortunately I am encountering the following error:

    Iam using the wordpress download monitor plugin.

    After changing the 'Custom Download URL' to downloads/ [filename] and re-saving the permalinks (I use: /%postname%/), Im receiving a deadly 500 Internal Server Error.

    The .htaccess has to be modified for chaning the ugly url (wp-content/plugins/download-monitor/download.php?id=x) into (downloads/filename)..

    I checked the .htaccess and it changed to:

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

    with:

    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule ^downloads/(.*)$ wp-content/plugins/download-monitor
    /download.php?id=$1 [L]

    was added.

    Anybody inspirations??

    Thanks in advance,

    Vincent

  2. mfields
    Member
    Posted 10 months ago #

    Maybe:

    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule ^downloads/([A-Za-z0-9-]+)/?$ wp-content/plugins/download-monitor
    /download.php?id=$1 [L]

    Just a thought, hope this helps:)

  3. wrk
    Member
    Posted 10 months ago #

    Hey mfielfs,
    Tnx for your reaction! Its not working..I dont understand the problem anyway, because at my localhost it is working. so it should be something on my hosting server settings I guess..

  4. bthreen
    Member
    Posted 9 months ago #

    Hey, not sure if you're still after a fix for this problem, but I fixed the same problem you encountered by removing the following line:

    Options +FollowSymLinks

Reply

You must log in to post.

About this Topic