Redirect to get rid of www.
-
I installed the no www plugin and ended up with a problem so I uninstalled it.
Right now my site with www. on is a PR 4 and without is a PR 5. I would like everything forwarded to without www. My blog is located at mioaklandcounty.com/blog. That is the main page of the site. I am not sure how to edit my htaccess files to remove the www permanently. I had bluehost do it and they majorly screwed everything up.
root directory htaccess fileRedirect /home.htm http://www.mioaklandcounty.com/blog/
RewriteEngine ON
RewriteCond %{HTTP_HOST} ^975fairfax.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.975fairfax.com$
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^(.*)$ http://www.oakland-county-homes.com/listing/47877522 [R=301,L]
# BEGIN WordPressRewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]/blog htaccess file
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress
- The topic ‘Redirect to get rid of www.’ is closed to new replies.