help redirecting IP address
- by Alice
Google has indexed the IP address of my site rather than the domain, so now I'm trying to set up a 301 redirect that will redirect the IP address and all subsequent pages to the domain.
I currently have something like this in my .htaccess file (however don't think it's working correctly?):
RewriteCond %{HTTP_HOST} ^12.34.567.890
RewriteRule (.*)…