Front page showing default 404 page

Created on 16 June 2023, over 1 year ago
Updated 8 September 2023, over 1 year ago

Problem/Motivation

I have moved a site from mydomain.com to myanotherdomain/drupal. But after migration all pages are working fine except the homepage. When I am running myanotherdomain/drupal/home it's working but it's showing default 404 page when I run myanotherdomain/drupal.

Steps to reproduce

After migrating all files & folders to the newdomain, import database from the old server and run drush cr

What I tried

I tried changing the default front page from Configuration > System > Basic Site settings > Default Front Page.

But it's not working.

Also tried programatically like this:

Drupal::configFactory()->getEditable('system.site')->set('page.front', '/home')->save();

Is there any configuration that I am missing here?

💬 Support request
Status

Closed: outdated

Version

8.9 ⚰️

Component
Other 

Last updated about 1 hour ago

Created by

🇮🇳India dasSouvik93

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024