• Resolved natemoller

    (@natemoller)


    I was trying to do a 301 redirect in the .htaccess file and believe i messed up the code because now the site is loading weird and I can’t get in to wp-admin.

    I want visitors to type in a domain from the site and be re-directed to a different website.

    What is the code I should use?

    Here’s the attempt I made to clean up the .htaccess code:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Here’s the site: basicdancetraining.com

    Thanks for the help.

Viewing 1 replies (of 1 total)
  • Thread Starter natemoller

    (@natemoller)

    Resolved, found this code and reuploaded it:

    # 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]
    </IfModule>
    # END WordPress

Viewing 1 replies (of 1 total)
  • The topic ‘htaccess malfunction & 301 redirect’ is closed to new replies.