Downloads index php instead of opening - can't login or access website
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
-
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. 0 -
Hello,thanks for your reply. i don't have root access, but i can send ticket to my hosting provider. .htaccess in home directory: [QUOTE] # Use PHP54 as default AddHandler application/x-httpd-php54 .php suPHP_ConfigPath /opt/php54/lib
.htaccess in public_html directory: [QUOTE] # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress
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) Thanks0 -
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. 0
Please sign in to leave a comment.
Comments
3 comments