Cookie-Nonce is invalid!
-
Hi
We have recently migrated a WordPress-WooCommerce Installation from the development server to a different domain on the live server.
Unfortunately I can no longer save any changes in the existing slideshows created with MetaSlider. The slideshows were created on the development server and they have all the settings preserved, but it is no longer possible to save any changes or to delete them.
The error that is produced is called:
Cookie-Nonce is invalid!
—
These things I have tried without success:
() I have tried different users, administrator and shop manager
() Emptying the browser cache
() Deactivating the security plugin which, besides other things, does block REST-Api
() Deleting the MetaSlider Plugin from the system and installing it anew.
() Generating new WordPress salt
() Deactivating all non-essential settings in the htaccess file
All these steps did not help to get rid of the error. I wonder what the reason for it may be?
—
The MetaSlider plugin still works without any problems on the development server, despite the same security plugin and htaccess settings and so on.
—
Here some additional information:
The folder-structure of the WordPress installation is changed for security reasons, just as it is also the case on the development server.
The wp-config file on the live server contains this information:
define('APP_ROOT', dirname(__DIR__)); define('WP_HOME', '//domain.tld'); define('WP_SITEURL', WP_HOME . '/wordpress_installation_folder/'); define('WP_CONTENT_DIR', APP_ROOT . '/path-to/changed_wp-content_folder_name'); define('WP_CONTENT_URL', WP_HOME . '/changed_wp-content_folder_name');
furthermore:
define('ADMIN_COOKIE_PATH', '/'); define('COOKIE_DOMAIN', ''); define('COOKIEPATH', '/wordpress_installation_folder/'); define('SITECOOKIEPATH', '');
These settings work quite well and solve problems that can occur when the folder-structure of the WordPress installation is changed for security reasons.
Is there any parameter missing to make MetaSlider work properly? As I said, there is no problem with the MetaSlider plugin on the development server with similar settings for that environment.
—
Due to the changes of the installation folder, the .htaccess file contains the following information to make the website work correctly:
<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^(www.)?domain.tld$ RewriteCond %{REQUEST_URI} !^/wordpress_installation_folder/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /wordpress_installation_folder/$1 RewriteCond %{HTTP_HOST} ^(www.)?domain.tld$ RewriteRule ^(/)?$ wordpress_installation_folder/index.php [L] </IfModule> # 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
Is there anything that may cause problems with MetaSlider plugin?
—
Thank you if you can find the time to give me a hint about what may be causing the problem.
- The topic ‘Cookie-Nonce is invalid!’ is closed to new replies.