The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Block /~user from Google + Bing on dedicated IP domains

Discussion in 'General Discussion' started by friedbrain, Feb 8, 2012.

  1. friedbrain

    friedbrain Member

    Joined:
    Feb 2, 2012
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi guys,
    I disabled /~user option or actually Enable[ed] mod_userdir Protection but for sites with dedicated IP I can still see the site.com/~site. I need to block it via apache, rewrite and robots. I am not sure if /user is an actually directory (other than the obvious one) but I added

    I added this to my robots:
    Disallow: /~*
    Disallow: /~site/
    Disallow: /site

    Any ideas? Ideally I'd make search engines and people see nothing or do a 301 redirect via apache rewrite. Since my most important sites have a dedicated IP and this can kill ranking, I'm worried.

    Thanks in advance
     
Loading...

Share This Page