BV Commerce Forum
»
BV Commerce Support
»
General Support
»
IMPORTANT: Google change IP address vs domain
Rank: Member
Joined: 1/30/2008(UTC) Posts: 215
|
Scanned some of our big competitors running later versions of IIS. Sometime towards the end of last month a lot of pages started getting indexed with the IP address vs the domain name. #1 does anyone have an idea how to fix it? Is it a BV thing? Or IIS? #2 check your own sites PromoManagers
|
|
|
|
Rank: Member
Joined: 11/25/2003(UTC) Posts: 370
|
Not seeing this issue here. At any point when using the website does the URL switch to an IP? If BV5 check your Security setting in Options > Site Settings just to make sure you do not have an IP set there. |
|
|
|
|
Rank: Member
Joined: 1/30/2008(UTC) Posts: 215
|
bv5 security settings are fine. Just mailed you a few example sites, seems to have started just after christmas.
The obvious question is what's the fix? We have access to IIS, should we set a simple redirect? I see Noah has setup sites like mikestools to redirect from the IP to the domain name and am curious as to how they did it.
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
It's pretty common to setup 301 or 302 redirects from your non-main domain name to your main one for SEO purposes. Redirecting from the IP shouldn't be needed under normal circumstances. The question is why/how are the IPs getting into the google index? If you have a link somewhere that uses IP then the google bot could end up spidering by IP instead of domain.
|
|
|
|
Rank: Member
Joined: 1/30/2008(UTC) Posts: 215
|
Marcus, I think based on what I'm reading it's just a google issue...but they suggest forwarding to the domain.
How easy is this to accomplish in IIS 7? Would you recommend a 301 or 302? I noticed Noah is using 302's on his domains.
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
301 is permanent and cached by browsers. 302 is temporary redirect. I think in the case of IP address I would use a 302. In the case of a domain name "www.domain.com" to "domain.com" I would use a 301.
I believe there is a module available for IIS7 to do this. I tend to do this in code in the global.asax file.
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
if using htaccess file, check with Resposio on version (i'm with them too)
RewriteCond %{HTTP:Host} ^000\.000\.000\.000$ RewriteRule (.*) http\://www\.DOMAIN\.com$1 [NC,R=302]
Keep it all intact, replace the 000 with your ip address. DOMAIN with your domain name. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.