• Resolved angelcaf

    (@angelcaf)


    Hi everyone,
    Wordpress does not update a static page when pressing the update button I see the website preview but I cannot see the changes and when I go back in edit mode the changes are lost.

    This is what I have already tried to fix the issue but did not work:
    – Re-installed the latest wordpress version
    – Checked if cache plugins were active (no one is neither installed nor active)
    – De-activated all plugins did not work either
    – Switched to the default theme

    Any suggestion?

    Thanks in advance

Viewing 9 replies - 1 through 9 (of 9 total)
  • dimitris33

    (@dimitris33)

    Hi, you can check with another browser and / or clear your cache.

    Thread Starter angelcaf

    (@angelcaf)

    Hello,
    I have checked with Safari and Chrome (clearing the cache in both cases) but it didn’t work 🙁

    You can debug to check for any messages

    https://codex.wordpress.org/Debugging_in_WordPress

    and check your htaccess, maybe something was added there

    https://codex.wordpress.org/htaccess

    Thread Starter angelcaf

    (@angelcaf)

    Hi, thanks for your suggestions.

    I have followed both suggestions:
    – I activated debugging
    – I checked the .htaccess file following the link that you have sent me above.

    However I was not able to fix the issue. I still can’t update my website pages :(:(:(

    The only message I have got in the debug.log file is a warning:

    PHP Notice:  The called constructor method for WP_Widget in LoginWidget is <strong>deprecated</strong> since version 4.3.0!
    Use <pre>__construct()</pre> instead
    in <my path>/wp-includes/functions.php on line 3718

    Please, do you have any other suggestion?
    Thanks in advance.

    Thread Starter angelcaf

    (@angelcaf)

    I also manually upgraded wordpress to the latest version by following this howto:
    https://codex.wordpress.org/Updating_WordPress

    but I still have the issue.

    Some other useful information are the following:
    – I am using the text mode editor
    – When I press the “update” button I am redirected to the homepage of my site not in edit mode anymore, whereas earlier (when update was working) I would stay in edit mode and have the update done. It is like changes are not applied to the source file of the page.

    Hope this helps for getting some help

    what do you see in your htaccess ? please post it here

    do you still get this behavior with the default theme? like 2015 ?

    Thread Starter angelcaf

    (@angelcaf)

    Hi,

    Yes I get this behavior also with the default theme (tried twenty eleven and twenty fifteen).

    This is my .htaccess:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    Thread Starter angelcaf

    (@angelcaf)

    The issue has been fixed!

    Steps to reproduce it:

    1. Edit a page with the editor in text mode
    2. Press Update
    3. WordPress redirects to the frontpage without applying any update (the normal behavior would be to update/save the page’s changes and keep the editor in text mode).

    Fix:

    • The problem is related to the hosting service, there was a ModSec problem when updating the page (i.e. POST).
    • In order to fix it I contacted my hosting service provider and they added an exception for my domain/host.

    Hope this helps 🙂

    It will definitely help other people, thanks for sharing.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Pages not updated’ is closed to new replies.