Some users are still using the IP address for my site. the current .htaccess # -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName www.gossiprocks.com AuthUserFile /home/gossip/public_html/_vti_pvt/service.pwd AuthGroupFile /home/gossip/public_html/_vti_pvt/service.grp RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://69.57.167.60/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://69.57.167.60$ [NC] RewriteCond %{HTTP_REFERER} !^http://likewhatever.gossiprocks.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://likewhatever.gossiprocks.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://wwww.likewhatever.gossiprocks.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://wwww.likewhatever.gossiprocks.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://awfulplasticsurgery.gossiprocks.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://awfulplasticsurgery.gossiprocks.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://blog.gossiprocks.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://blog.gossiprocks.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://forum.gossiprocks.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://forum.gossiprocks.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://gossiprocks.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://gossiprocks.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.awfulplasticsurgery.gossiprocks.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.awfulplasticsurgery.gossiprocks.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.blog.gossiprocks.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.blog.gossiprocks.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.forum.gossiprocks.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.forum.gossiprocks.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.gossiprocks.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.gossiprocks.com$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC] RewriteCond %{HTTP_HOST} !^www\..* RewriteCond %{HTTP_HOST} !^$ RewriteCond %{HTTP_HOST} ^([^.]*)\.(com|co\.uk) RewriteRule ^.*$ http://www.%1.%2%{REQUEST_URI} [R=permanent,L] I want the IP 69.57.167.60 forwarded to www.gossiprocks.com how would I do that?
I tried adding this RewriteCond %{HTTP_HOST} !^69.57.167.6080)?$ RewriteCond %{HTTP_HOST} !^www.gossiprocks.com.com80)?$ RewriteRule ^/(.*) http://www.gossiprocks.com.com/$1 [L,R=301] but it didn't work either
Options +Indexes Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteRule ^([^.]+)$ http://www.gossiprocks.com/$1 [R=301,L]