Support » Fixing WordPress » Cannot leave home page

  • Resolved Clivesmith

    (@clivesmith)


    I looked earlier at the new heath status and was told I should update php to 7.3 I changed it to 7.3.16. I have tried changing back and restarting server.
    When I try to leave the home page it just returns me to the home page, menus do not work nor does writing the page I want to go to in the address bar.

    when I look at new health status I am getting a new message “the REST API did not behave correctly”

    If I go into dashboard and try to re publish a page I get “Updating failed. The response is not a valid JSON response.”
    I am running wordpress 5.4

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • A possible temporary fix is to install the Classic Editor:
    https://wordpress.org/plugins/classic-editor/

    I don’t recommend relying on this, as the development pace is going to be lightning fast towards the end of the year for Full Site Editing.

    I totally get that you need your site to work in the meantime though 🙂

    All the best!

    Thread Starter Clivesmith

    (@clivesmith)

    Hi,

    Thank you, I have tried that but it does not make any difference.

    Clive

    Okay, that sucks.

    Let’s see if this points out anything.
    Make some :coffee: in the meantime 🙂

    You can install this plugin to check for theme and plugin conflicts:
    https://wordpress.org/plugins/health-check/

    You can try switching to a default (Twenty*) theme and disabling all your plugins.
    Re-enable them one by one to see if you can isolate the issue.

    You can also re-install WordPress core via your Update tab, just to make sure that there weren’t any unauthorized changes to your core files.

    Once you’ve isolated where the issue is coming from, it becomes possible to deal with it.

    Good luck.

    • This reply was modified 3 years, 11 months ago by Carike. Reason: forgot site-health link - added

    Wait, I thought you meant your /wp-admin/ was still accessible.
    That is redirecting me too, as is /wp-login.php

    Try renaming your your plugins folder and your current theme’s folder under /wp-content/
    That will disable all of your plugins and force your site to revert to a different theme.
    Something is causing the redirect. Now it just becomes a matter of figuring out where the redirect is originating from.

    By the way, did you have a particular SEO plugin installed (and haven’t updated it yet)?
    It’s the first time I would see it present like this, it normally redirects to an external spam site, but worth asking.

    Thread Starter Clivesmith

    (@clivesmith)

    I have changed how I login using wordfence so /wp-login.php will redirect, I have been using this for a couple of years without problem, there has not been an update lately.

    I have installed health check and disabled all plugins
    I have yoast SEO

    I have noticed something odd, for ages I have not been able to click on dashboard and get the menu on the left I normally have to get the menu by clicking on say the comments icon or +NEW

    Have you switched to a default (Twenty*) theme?

    Otherwise there might be a redirect set up in your .htaccess (or NGNIX or web.config), or in cPanel (or whichever other hosting panel your host uses)?

    Contacting your host might just be a good idea regardless.
    They should be able to check the logs for you for anything unusual.

    Thread Starter Clivesmith

    (@clivesmith)

    Thanks,
    I am running a twenty* theme (with child)

    I have renamed .htaccess and that does not help, I will get onto host and see if they can help. Thanks again, I will come back if / when I get a solution.

    Clive

    Thread Starter Clivesmith

    (@clivesmith)

    I’m Back !
    my host has been really helpful, they have narrowed it down to a problem with permalinks, if they turn permalinks off the site works. But just resetting them does not sort the problem.

    I think the problem may be compounded by iThemes security plugin but I cannot work out how to remove everything it has changed.

    Thread Starter Clivesmith

    (@clivesmith)

    I have disabled ithemes security, but the only way I can get site to work properly moving between pages etc is if I set permalinks to plain, as soon as I change it to post name it stops working.
    I have set no search engines so google should not redo all my links, I hope, but obviously no links from google work.

    My host has now suggested I speak with my developer, as that’s me, any help would be great

    Thread Starter Clivesmith

    (@clivesmith)

    When I change permalink from plain to post name it adds
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    to my .htaccess file and then when I click on a page in the menu it does not go anywhere if I hover over the menuitem it shows the correct page at the bottom left on the browser.

    Thread Starter Clivesmith

    (@clivesmith)

    Fixed.
    I have backed up the wordpress completely, deleted and recreated the domain, restored the old to the new and all is working.
    I can only assume the problem was with the host settings somewhere.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Cannot leave home page’ is closed to new replies.