
301 redirect question
The original htaccess file looks like this. Notice the begin and end Wordpress comment tags. So I'm thinking this is instruction specifically for Wordpress and my redirect shouldn't be included here. In fact I'm thinking the redirect should be before any instructions for Wordpress because they should be executed when the site is first called.
# 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
#301 Redirect RewriteEngine On RewriteCond %{HTTP_HOST} !^realhomebusiness.us$ RewriteRule (.*) http://realhomebusiness.us/$1 [R=301,L] # 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
Does anyone else have experience using a 302 redirect with WP?
Free Screencast Videos Resource Guide Here