*

happymewtwo

  • **
  • 5 posts
how to migrate files to a new host?
« on: November 05, 2023, 05:41:00 AM »
I recently changed web hosting.

I tried to migrate all the files by transferring them to the new host and even the database (via phpmyadmin).

When i enable friendly urls, i'm getting errors on every page. I think there's something wrong with the database migration because i had to repair it a few times.

what's the correct way to migrate to a new hosting?

which files or folders are needed?

Please help.

*

MB Themes

Re: how to migrate files to a new host?
« Reply #1 on: November 05, 2023, 07:07:56 AM »
You probably do not have .htaccess file correctly generated.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

happymewtwo

  • **
  • 5 posts
Re: how to migrate files to a new host?
« Reply #2 on: November 05, 2023, 12:26:16 PM »
it's this. <IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>


i'm getting 404 errors on every page except the home page when i use permalinks