WordPress - Issues

Redirect

Firewall

Check aios-bootstrap.php. It may contain a (file) redirect e.g:

$GLOBALS['aiowps_firewall_data'] = array(
    'ABSPATH' => '/home/web/repo/project/hatherleigh.info/live/',
);

To solve the redirect, update this as required and restart PHP FPM:

systemctl reload php8.1-fpm.service

Options - URL

If your site redirects, then update all references to the site URL:

# MySQL
update wp_options set option_value = "https://testing.hatherleigh.info" where option_name = "siteurl" or option_name = "home";

URLs

If your site is only displaying the home page (and maybe /wp-admin/), then update the .htaccess file in the root folder of your project:

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

From My WordPress Site is Displaying Only the Main Page.