Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice