After migration Wordpress downloads and displays no page

Asked

Viewed 977 times

1

The problem is this, after migrating wordpress from one hosting to the other occurs a problem, it does not display anything just download a file called "download", I had this same error once but it was solved by the hosting itself.

.htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
  • Is . htaccess just that? Your new hosting is Apache or is it IIS?

  • Apache my comrade

  • If you could give me more details it would make it easier

  • There is not much detail, that’s pretty much it, I migrated the site by backup of Cpanel and then already started to give this error, it simply downloads a file called "download".

  • Whatever the problem with this file, try to open in Notepad.exe?

1 answer

2

Your question gave very little information, there is no way to deduce much, but perhaps that is the problem, if the . htaccess is in the same folder as wordpress (only if you are) removes rewritebase and / from the front of index.php:

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

Browser other questions tagged

You are not signed in. Login or sign up in order to post.