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.

Downloads index php instead of opening - can't login or access website

Discussion in 'General Discussion' started by sanehia, Aug 26, 2014.

  1. sanehia

    sanehia Registered

    Joined:
    Aug 26, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello, when I try to access my website homepage or login, it tries to download the page instead of opening like normal.
    I checked permissions files=644 & folder=755 & rename htaccess .Any ideas?
    I'm using WordPress cms

    please help me
    thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Do you have root access to this server? If not, check for any additional .htaccess files within the account's home directory to see if there are entries causing this behavior. Otherwise, consult with your web hosting provider to see if they can troubleshoot the issue.

    Thank you.
     
  3. sanehia

    sanehia Registered

    Joined:
    Aug 26, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello,thanks for your reply.
    i don't have root access, but i can send ticket to my hosting provider.
    .htaccess in home directory:
    .htaccess in public_html directory:
    when i rename htaccess file in home directory , show this error:
    Warning: Cannot modify header information - headers already sent by (output started at /home/usermyhost/public_html/wp-config.php:1) in /home/usermyhost/public_html/wp-includes/pluggable.php on line 899

    (In addition, this problem occurred after server migration)

    Thanks
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I suggest reporting this issue to your hosting provider so they can address the problem from the "root" level. It's likely the new server is configured differently than the previous one, rendering your custom .htaccess entries invalid.

    Thank you.
     
Loading...

Share This Page