Sometimes google is indexing my pages using the ip address. For example 216.122.132.211/subfolder/Browse.asp?cid=17 instead of domainname.com/subfolder/Browse.asp?cid=17 Is there a way to fix how google is seeing this? It's causing serious serp issues.
any problem inside your site's config file ? something like "base_url" ,etc what is your site url ? providing the site url help me to check this..
somehow Google has seen a link with that IP on your web page. Google remembers those IP-based links even if you remove them. The bast solution is configuring your web server (think you have IIS) so that IP-based requests are forwarded to the domain-based URLs with a 301 (Moved permanently) redirection code in the header.
Yep, a 301 redirection will solve the problem permanently. You can found easy on the web an example of that file.