Facing issues migrating website from HostGator to IONOS

I just managed to install OJS on website on HostGator and now need to move it to 1and1 (ionos). I have moved the file directory plus the database. I have updated the config.inc.php file including base URL, file directory link… etc. now when I try to access the website using the new domain, it takes me back to hostgator account and asks me to setup a new website…

Any help would be apprecited.

Could there be any default index.html in you folder? There should be only 1 index.php file for ojs…

Hi @Kamran Welcome to the PKP Community Forum! :grinning:

  • Do you have any .htaccess file that does this redirection?
  • Will your new domain really have the IONOS DNS?
  • In the config.inc.php file, is it installed = On?

Hi, thanks for the message. the content of .htaccess is as following, not sure what to include:

RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,L]

php – BEGIN cPanel-generated handler, do not edit

Set the “ea-php83” package as the default “PHP” programming language.

AddHandler application/x-httpd-ea-php83___lsphp .php .php8 .phtml # php -- END cPanel-generated handler, do not edit

the new domain as the IONOS DNS
not sure what you mean by “In the config.inc.php file, is it installed = On?”
I check the config.inc.php and don’t see any lines for it…

following is what it says in my index.php:
use APP\core\Application;

// Initialize global environment
require_once ‘./lib/pkp/includes/bootstrap.php’;

// Serve the request