htaccess – All navigation links on website redirect to same page


I just migrated a site from a staging server to the live server and on the live server all the nav links redirect to the same page. The URLs in the address bar are correct, but the page is different.

So, address in browser shows: but the page showing is the FAQ page. Or the browser shows but the page that pops up is still FAQ. It is the same for every page: correct URI in browser, all show FAQ page.

I reset the permalinks, but no joy.

Where do I start looking?

P.S. The site was built with Elementor, if that has any bearing.

htaccess is:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

<filesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|svg|js|css|swf)$">
        Header set Cache-Control "max-age=84600, public"

breadwild 5 months 2022-07-13T08:57:17-05:00 0 Answers 0 views 0

Leave an answer