I solve my problem, renaming plugins folder to plugins.hold, creating a new empty plugins folder and deleting this line from my wp-config.php: define ('COOKIE_DOMAIN', 'www.mydomain.com');
here is my solution: “an automatic condition script that could be attached to the main category.php and checks if there’s just one post in the category and redirects.”