I recently transferred my wordpress site alphamensquad.com from inmotion hosting to Godaddy. I copied all my files to the new host and created new database with the same name and imported all the tables.
After doing all this my site would not load. I contacted my hosting provider and they asked me to change the nameserver and IP. After that the website started working.
Now when I open my website, the site returns a 500 error
. But when I refresh the page, it loads normally. None of the internal pages works. All of the returns Error 500
even after refreshing several times.
I checked the error logs and found several entries like below.
[Sun Aug 06 04:02:48.803764 2017] [core:crit] [pid 16519:tid 140421072078592] (13)Permission denied: [client 173.245.50.237:22637] AH00529: /home/username/public_html/alphamensquad.com/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/username/public_html/alphamensquad.com/' is executable, referer: http://alphamensquad.com
The file permission of .htaccess was 644
and I even tried changing it to 755
. The file permission of the folder /public_html/alphamensquad.com/
was 750
and I tried setting it to 755
.
I even tried deleting all the content from .htaccess except for the following
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Since none of the subpages are working, I am not able to log into my wordpress account as well.
Please help.