Those lines need to be in wp-config.php, not .htaccess. Turning the options on should place them in the file for you.
Yes, those lines need to be in wp-config.php, not .htaccess. But when I turn on these options and press “Save Changes” button then these options deleted from wp-config.php if they were there.
Ah ha. Now I follow. Do you have any other plugins active that might be looking at wp-config?
The list of active plugins, which I use: Akismet, AntiVirus, Better WP Security, Broken Link Checker, Contextual Related Posts, Diagnosis, Facebook Like Box, FD Feedburner Plugin, Google Analytics for WordPress, qTranslate Importer, Secure WordPress, Subscribe widget, WP-DBManager, WP-Optimize, WPML flag in menu, WPML Multilingual CMS, WP Security Scan, WP to Twitter. Please advise which plugin I should switch off.
I’m afraid I’m not familiar with pretty much any of those and therefore can only suggest you follow standard WordPress troubleshooting of shutting off all plugins and reactivating one at a time to confirm which is causing the issue.
I have some similar problem… when I enable SSL on admin and login pages, nothing happens – settings are saved, but I can still login through http (so forcing SSL doesn’t work at all).
@ninostar78 can you manually go to https?
Yes, I was able to go to https manually, but then I was redirected to http. I’ve uninstalled the plugin now. I think that I will do manually some security stuff, as I had too much troubles with this plugin… I wish it would work, but sadly it didn’t on two different servers/websites.