Clicking on any link or even entering the admin endpoint redirects me to the home page.
Redirecting might be confusing, the URL is actually correctly displaying, but the content is of the homepage. Can’t access the wp-admin since it also get’s displays the home page 🙁
chtil.com
FYI, this is a site hosted in AWS Lighsail WordPress, so it’s a bitnami-managed site.
Also, found following rule in the .htaccess file.
No matter how I update this, it get reverted to this after server restart.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^(index|wp-admin|wp-include|wp-comment|wp-loader|wp-corn-sample|wp-l$
RewriteRule ^.*.[pP][hH].* index.php [L]
RewriteRule ^.*.[sS][uU][sS][pP][eE][cC][tT][eE][dD] index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>