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.

cPanel addon domain

Discussion in 'General Discussion' started by selberkani, Jan 14, 2014.

  1. selberkani

    selberkani Member

    Joined:
    Jan 17, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I have bought domains with different extensions and added them with the addon domains tool in cPanel under one account. This is how my folders are setup:

    domain.com
    domain.com/domain.eu
    domain.com/domain.fr
    domain.com/domain.be

    What happened Google started indexing the pages like this (left side):

    http://www.domain.com/domain.be ---->Redirect----> http://www.domain.be
    http://www.domain.com/domain.be/forum ---->Redirect----> http://www.domain.be/forum
    http://www.domain.com/domain.be/forum/php ---->Redirect----> http://www.domain.be/forum/php

    How can I redirect Google to index the pages given on the right side?

    Thanks for your help
     
    #1 selberkani, Jan 14, 2014
    Last edited: Jan 14, 2014
  2. selberkani

    selberkani Member

    Joined:
    Jan 17, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    #2 selberkani, Jan 14, 2014
    Last edited: Jan 14, 2014
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The changes to the robot.txt file should be sufficient based on the other forum thread that you referenced. Additional redirect rules are not required unless you want to setup rules to redirect to the full URL of the addon domain instead of using the robots.txt file.

    Thank you.
     
  4. selberkani

    selberkani Member

    Joined:
    Jan 17, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Michael thanks for the advice.
     
Loading...

Share This Page