Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Why is my homepage redirecting to an old blog entry? WordPress

  • SOLVED

When you visit https://www.wudrecords.co.uk, for some reason you are redirected to an old blog entry. If you visit https://www.wudrecords.co.uk/homepage, the page loads just fine.

Steps I've taken:
- Disabled all plugins
- Switched themes
- Checked permalink settings
- Confirmed the correct page is set as the homepage in Reading Settings
- Checked .htaccess is fine
- Run a scan with Wordfence to ensure there are no infected files
- Replaced all core WordPress files

Answers (5)

2019-03-11

Francisco Javier Carazo Gil answers:

Good afternoon,

There is some 301 created:

carazo@carazo-desktop:~$ wget https://www.wudrecords.co.uk
--2019-03-11 14:02:10-- https://www.wudrecords.co.uk/
Resolviendo www.wudrecords.co.uk (www.wudrecords.co.uk)... 144.217.49.44
Conectando con www.wudrecords.co.uk (www.wudrecords.co.uk)[144.217.49.44]:443... conectado.
Petición HTTP enviada, esperando respuesta... 301 Moved Permanently
Ubicación: /news/wud-records-our-bands-on-tv [siguiente]
--2019-03-11 14:02:11-- https://www.wudrecords.co.uk/news/wud-records-our-bands-on-tv
Reutilizando la conexión con www.wudrecords.co.uk:443.
Petición HTTP enviada, esperando respuesta... 200 OK

So there is something in:
1) your server (nginx or Apache)
2) your files
3) your database

Download your whole site (files and database) and look for this string: /news/wud-records-our-bands-on-tv

Maybe you find there the solution.

Which is leading you there. Have you asked your hosting about it?

2019-03-11

Arnav Joy answers:

Have you checked wp-config.php file at the root and functions.php file of activated theme?


Arnav Joy comments:

Also check for general settings in admin

2019-03-11

isp_charlie answers:

check on ADMIN > Setting > Reading, see my image

2019-03-11

Hugo Gonçalves answers:

Hi Dan!

Try these steps:
https://woorkup.com/old-wordpress-url-redirecting/

2019-03-11

Peter Michael answers:

Hi there,

the only thing I could think of is to check Settings -> General -> Site Address (URL). Other than that requires to check server (Nginx/Apache) config files.