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.

redirect problem

Discussion in 'General Discussion' started by bula sahu, Dec 21, 2012.

  1. bula sahu

    bula sahu Registered

    Joined:
    Dec 21, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello experts,

    Please help me.

    domain= /http://www.xyz.com
    directory= /www.xyz.com/class
    redirct = /www.xyz.com/class redirect to /http://www.xyz.com ok and there was no problem.:)

    now, i deleted the directory with programme i.e www.xyz.com/class and redircted as follows
    /http://www.xyz.com redirects to /www.xyz.com/abc

    but cpanel making error with the message " the url /class not found on the server":mad:

    what's gone wrong

    Thanks in advance
     
  2. hgrg

    hgrg Well-Known Member

    Joined:
    Oct 4, 2010
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    if cpanel put a htaccess in class directory handling your redirect when you deleted the directory the file was also gone..
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Please check the .htaccess file in the account's public_html directory:

    # /home/username/public_html/.htaccess

    Make sure there are no entries for the old redirect.

    Thank you.
     
Loading...

Share This Page