Forums

Errror 500, .htaccess (2 posts)

  1. zenman_nl
    Member
    Posted 1 year ago #

    My site was suddenly down. Internal server error 500.

    The content of my .htaccess was:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    After I deleted all code from .htaccess, the site still was down, but I managed to get into wp-admin now. I changed the permalink-option to default and after that I changed it back to /%category%/%postname%/

    The site was up and running again. I tried to put the code back in, but the site immediately went down again (500-error).

    What is wrong with the .htaccess code above?

  2. phe.le
    Member
    Posted 1 year ago #

    Try it without:

    RewriteCond %{HTTP_REFERER} !^http://kead.nl/.*$ [NC]

    RewriteCond %{HTTP_REFERER} !^http://kead.nl$ [NC]

    RewriteCond %{HTTP_REFERER} !^http://www.kead.nl/.*$ [NC]

    RewriteCond %{HTTP_REFERER} !^http://www.kead.nl$ [NC]

    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ <meta name="generator"
    content="WordPress 3.0.1" /> [R,NC]

Topic Closed

This topic has been closed to new replies.

About this Topic