• Hi, there appears to be an error when saving changes. I am directed to the following URL wp-admin/options-general.php?page=header-footer%2Fadmin%2Foptions.php

    The page can’t be found.

    It looks like nothing was found at this location.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    Really weird, the “options-general.php” is not the correct entry point. I’ve just tested a saving on my blog and it works… I really don’t know. When you enter the settings page, what is the URL you see?

    Thread Starter zeroanarchy

    (@zeroanarchy)

    Just ran a few tests. If I exclude <script> tags and make it purely text it saves. If I add

    <!– Google tag (gtag.js) –> <script async src=”https://www.googletagmanager.com/gtag/js?id=G-123456″></script&gt; <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag(‘js’, new Date()); gtag(‘config’, ‘G-HHY99PNSV5’); </script><i class=”ogt-content-copy-button” tabindex=”0″ title=”Copy” role=”button”></i>
    it changes the end location to the above mentioned.

    Thread Starter zeroanarchy

    (@zeroanarchy)

    okay after 1 further test I have narrowed the error down to the less than (<) and greater than (>) symbol. If excluded it will save.

    Thread Starter zeroanarchy

    (@zeroanarchy)

    Plugin Author Stefano Lissa

    (@satollo)

    Sorry, that URL is ok. Could be a security plugin is blocking the saving process with that code? The plugin does not check what’s in the configuration, just saves it.

    Thread Starter zeroanarchy

    (@zeroanarchy)

    interesting. Only Elementor installed.

    Thread Starter zeroanarchy

    (@zeroanarchy)

    You were right Stafano. After some work I discovered that the new version of Cpanel comes with a new addition ‘WP Toolkit’. Within it exists a security measures section with default measures already selected, these include:

    Block access to potentially sensitive files

    Forbid execution of PHP scripts in the wp-content/uploads directory

    Forbid execution of PHP scripts in the wp-includes directory

    Hope that helps someone in the future. Thanks for your time Stefano.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘The page can’t be found erro’ is closed to new replies.