Support » Fixing WordPress » htaccess causing internal server error (500)

  • Hi there,

    I’m trying to use htaccess to redirect a list of old URLs but every time I try to add them to the htaccess file I get an internal server error.

    I do have a 301 redirect plugin installed too.

    Any ideas what’s wrong with this file? Thanks!

    # BEGIN WordPress
            <IfModule mod_rewrite.c>
            RewriteEngine On
            RewriteBase /
            RewriteRule ^index\.php$ - [L]
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteRule . /index.php [L]
            # END WordPress
    redirect 301 /real-mortgage-for-real-people
    redirect 301 /are-you-not-the-perfect-mortgage-applicant
    redirect 301 /there-are-funds-available-to-borrowers
Viewing 2 replies - 1 through 2 (of 2 total)
  • Does nobody know what’s going wrong here?


    Put this above ‘# BEGIN WordPress’

    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^real-mortgage-for-real-people [NC,OR]
    RewriteCond %{REQUEST_URI} ^are-you-not-the-perfect-mortgage-applicant [NC,OR]
    RewriteCond %{REQUEST_URI} ^there-are-funds-available-to-borrowers [NC]
    RewriteRule .* [NC,L]
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘htaccess causing internal server error (500)’ is closed to new replies.