Title: WordPress log out when update css
Last modified: August 21, 2016

---

# WordPress log out when update css

 *  [Newki75](https://wordpress.org/support/users/newki75/)
 * (@newki75)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/wordpress-log-out-when-update-css/)
 * Hello,
 * I’ve set up the wordpress module as usual at OVH hebex.
    And I have something
   strange: when I click on Update the style.css file (whatevec the theme is), I’m
   logged out with this URL :
 * [http://hugh-photography.com/wp-login.php?redirect_to=http%3A%2F%2Fhugh-photography.com%2Fwp-admin%2Ftheme-editor.php%3Ffile%3Dstyle.css%26theme%3Dlensa%26scrollto%3D0%26updated%3Dtrue&reauth=1](http://hugh-photography.com/wp-login.php?redirect_to=http%3A%2F%2Fhugh-photography.com%2Fwp-admin%2Ftheme-editor.php%3Ffile%3Dstyle.css%26theme%3Dlensa%26scrollto%3D0%26updated%3Dtrue&reauth=1)
 * Can anyone help me?
    Thanks in advance guys!

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/wordpress-log-out-when-update-css/#post-4390669)
 * What theme are you using?
 * Have you tried:
    – deactivating ALL plugins temporarily to see if this resolves
   the problem. If this works, re-activate them individually (one-by-one) to find
   the problematic plugin(s). If you can’t get into your admin dashboard, try deactivating
   via [FTP or SFTP ](http://codex.wordpress.org/FTP_Clients)or whatever file management
   application your host provides. If applicable, also remember to deactivate any
   plugins in the mu-plugins folder. The easiest way is to rename that folder to
   mu-plugins-old. – To rule out any theme-specific issue, try switching to the 
   unedited default, core-bundled Theme for a moment using the WP dashboard. If 
   you don’t have access to your admin area, you can switch to the default theme
   by renaming your current theme’s folder in wp-content/themes and adding “-old”
   to the end of the folder name using via FTP or SFTP or whatever file management
   application your host provides. Alternately, you can remove other themes except
   the default theme. That will force your site to use it. – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause
   problems (because the hooks remain unless plugins completely removed or some 
   plugins stick around in cached files. So by renaming the folder, you break them
   and force them inactive). – If the above troubleshooting steps fail to resolve
   the issue, try manually re-uploading all files and folders EXCEPT the wp-config.
   php file and the /wp-content/ directory from a fresh download of WordPress. Make
   sure that you delete the old copies of files & folder before uploading the new
   ones. Read the [Manual Update ](http://codex.wordpress.org/Updating_WordPress#Manual_Update)
   directions first!
 *  Thread Starter [Newki75](https://wordpress.org/support/users/newki75/)
 * (@newki75)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/wordpress-log-out-when-update-css/#post-4390685)
 * Hello !
    Thanks for your answer, I tried all but it failed so I’m gonna apply
   your last solution. Just one question, what do you mean by Except /wp-content/
   directory. Thanks for your help !
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/wordpress-log-out-when-update-css/#post-4390687)
 * > what do you mean by Except /wp-content/ directory.
 * That’s exactly what it mean – Except /wp-content/ directory.
 * If you have nothing to lose in that directory, then it’s your choice if want 
   to update it as well.
 *  Thread Starter [Newki75](https://wordpress.org/support/users/newki75/)
 * (@newki75)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/wordpress-log-out-when-update-css/#post-4390688)
 * AH ok ! it’s my english level, i didn’t understand directory 😉
    Thanks, I have
   nothing to lose there so I will just keep wp-config and will try te replace all
   the other files Thanks, I’ll let you know
 *  Thread Starter [Newki75](https://wordpress.org/support/users/newki75/)
 * (@newki75)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/wordpress-log-out-when-update-css/#post-4390727)
 * Hello,
 * I’ve connected via FTP, remove everything under www, except wp-config and htaccess
   and cowloaded a new version of WordPress and I still have the same issue with
   the theme by default. What can I do now?
 * Thanks in advance for your help!
 *  Thread Starter [Newki75](https://wordpress.org/support/users/newki75/)
 * (@newki75)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/wordpress-log-out-when-update-css/#post-4390728)
 * Here is the URL when I click on Update on style.css
    [http://hugh-photography.com/wp-login.php?redirect_to=http%3A%2F%2Fhugh-photography.com%2Fwp-admin%2Ftheme-editor.php%3Ffile%3Dstyle.css%26theme%3Dtwentythirteen%26scrollto%3D288%26updated%3Dtrue&reauth=1](http://hugh-photography.com/wp-login.php?redirect_to=http%3A%2F%2Fhugh-photography.com%2Fwp-admin%2Ftheme-editor.php%3Ffile%3Dstyle.css%26theme%3Dtwentythirteen%26scrollto%3D288%26updated%3Dtrue&reauth=1)

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

The topic ‘WordPress log out when update css’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [Newki75](https://wordpress.org/support/users/newki75/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/wordpress-log-out-when-update-css/#post-4390728)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
