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!

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:
    44,367
    Likes Received:
    1,855
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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:
    44,367
    Likes Received:
    1,855
    Trophy Points:
    363
    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.
     
    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