2

Sorted it out myself. The problem was, server was very slow to process the import. The process was happening behind the scene but server actually went down. When server was up, I could see all the content on the other site.


1

htaccess was my first thought. Since you've checked that, I'd move on to the apache error log. If you can't access this yourself your host should be able to help you.


1

It appears that you don't have the mod_rewrite module enabled in apache. This explains why you can access the dashboard found at wp-admin/index.php, but not the main index.php. Your .htaccess is depending on the rewrite module to do its work, which isn't active. To enable it in your http.conf file you need to find the line: #LoadModule rewrite_module ...


1

When I had developed a theme, and I was trying to automate the import process by tweaking wordpress-importer plugin. I had faced the same issue. When importing server processes numerous DB operations at same time, that's why it's not able to respond and it results in 500 Internal server error. Try 1 : To fix the issue, you have to import one by one. ...


1

you need to create .htaccess file. Create .htaccess file and paste below code in it # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /blog/index.php [L] </IfModule> # END WordPress


1

This turned out to be a permissions issue. It seems that in order for './your_filename.php' to work, the user PHP is running as needs to have 'List folder contents' permissions on the folder - even though the file is directly specified. In the end, the full solution involved turning Fast CGI impersonation off, getting PHP to run as the Application Pool ...


1

Looks like you are using one of the hacks to have the same wp-config.php file in development and deployment environments. AS it is noted at the end of that page, the hack were not tested in restricted environments like your. If you are not in development phase anymore then you should change your code in wp-config.php and manually set the constants instead of ...


Only top voted, non community-wiki answers of a minimum length are eligible