• Recently added an add-on domain. Have the following in my htaccess file:

    RewriteEngine on
    RewriteCond %{REQUEST_URI} !^/wp-admin/*
    RewriteCond %{REQUEST_URI} !^/wp-login.php
    RewriteRule ^/harmonicfundservices/(.*)$ http://www.harmonicfundservices.com/$1 [L,R=301]
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Everything works fine except for redirects from old page URLs below the old subfolder domain (e.g. /harmonicfundservices/about-us or /harmonicfundservices/contact). These generate a browser message: “there doesn’t seem to a wp-config.php file”

    How do I edit my htaccess file to fix it so that anything any subfolder (except wp-admin and wp-login.php) redirects to my new add on domain?

    Thanks in advance. Mike

  • The topic ‘htaccess redirect problem – "there doesn't seem to a wp-config.php file"’ is closed to new replies.