homepage Welcome to WebmasterWorld Guest from 54.167.11.16
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
Is Ip can loose PR of a website ?
IP vs Website Pr problem
subikar




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

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]

 

coopster




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

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.

jdMorgan




msg:3826442
 9:26 pm on Jan 14, 2009 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved