Forum Moderators: phranque
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]
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