WordPress.org

Support

Support » How-To and Troubleshooting » 301 Redirect for WordPress Install in Sub-Folder

301 Redirect for WordPress Install in Sub-Folder

  • Right now my htaccess file is set up to allow me to have my site within the wordpress folder but not have that folder show up in the url. Now I want to 301 redirect to also force my site to be http://www.mysite.com, not http://mysite.com.

    This is what my .htaccess looks like now
    # 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

    Can anyone link me to instructions on how this is done.

  • The topic ‘301 Redirect for WordPress Install in Sub-Folder’ is closed to new replies.
Skip to toolbar