help with 301 redirect in .htaccess from www to non-www
-
I am attempting to do a 301 redirect for pagerank purposes and am having a little trouble. I am trying to go from http://www.example.com to example.com
No matter which way I’ve done works. I just get a redirect error in Firefox. Although I can turn example.com into http://www.example.com without any issues, but I’m lazy and don’t want the www
This code works for me for having http://www.example.com
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.joeschmo.com$ [NC]
RewriteRule ^(.*)$ http://www.joeschmo.com/$1 [L,R=301]However this code does not work for example.com
RewriteEngine On
RewriteCond %{HTTP_HOST} !^joeschmo.com$ [NC]
RewriteRule ^(.*)$ http://joeschmo.com/$1 [L,R=301]I should probably start another post but if some can figure this out, im sure they know the answer to this also.
How do I incorporate a blavatar (icon next to url) on my domain?
This does not help: http://wpxpert.wordpress.com/2010/02/18/blog-avatar/I do not have a settings option in the top right corner of my WP Admin panel, not sure if it has to do with my host bluehost.com
I do have a settings option in the left column but there is no option to upload an image for cropping and displaying as my avatar.
Thanks in advance!
- The topic ‘help with 301 redirect in .htaccess from www to non-www’ is closed to new replies.