WordPress.org

Forums

301 Redirect for WordPress Install in Sub-Folder (1 post)

  1. MeowAttack
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic