Welcome to WebmasterWorld Guest from 50.16.24.12

Forum Moderators: phranque

Is Ip can loose PR of a website ?

IP vs Website Pr problem

   
6:59 am on Jan 13, 2009 (gmt 0)

5+ Year Member



Hi I need a answer of a question hope you can.

I have a site suppose: http://www.example.com and it has PR 5

Which is suppose hosted in somewhere and suppose itís ip is http://1.1.1.1/

Now when I am trying to to access website http://1.1.1.1/3456 then http://www.example.com is opening but url is not coming in url bar http://www.example.com.

Does that means I will loose PR of the website due to this ip. If so how I can make this stop doing so.

Regards,
Subikar

[edited by: caveman at 7:15 am (utc) on Jan. 13, 2009]
[edit reason] Removed site name per TOS, delinked links. [/edit]

8:54 pm on Jan 14, 2009 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Rather than be concerned about the PR part of it, just correct it. If you don't want the IP address to deliver the site content pages you can either set up a default virtual host container for the IP with just an index page or you might even consider redirecting that IP to your primary domain name.
9:26 pm on Jan 14, 2009 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



You should install code to 301-redirect all non-canonical requests to the canonical domain. For example:

Redirect 1.1.1.1 to www.example.com/
example.com to www.example.com/
<anything but www>.example.com to www.example.com/
<IP or domain>. to www.example.com/
<IP or domain>:80 to www.example.com/
<IP or domain>.:80 to www.example.com/
<IP or domain>/index.php to www.example.com/

If you do not use any other subdomains except for "www", then this can be done with just a few lines of code using Apache mod_rewrite or ISAPI rewrite on IIS. Alternately, if you generate your pages using scripts, then you could include PHP or .asp code to do these redirects.

Jim

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month