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!

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:
    56
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,809
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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