Title: Updated Error 500
Last modified: November 20, 2018

---

# Updated Error 500

 *  [pressmaster](https://wordpress.org/support/users/longshotisland/)
 * (@longshotisland)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/updated-error-500/)
 * I have removed lines from my htaccess file until I found this one is causing 
   a 500 error.
 *  ExpiresByType default “access plus 3 hours”
 * When I try to save my permalinks, the lines are added to my htaccess file and
   then I get 404 errors on pages.
 * Everything works fine without that line. Is it necessary?

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/updated-error-500/#post-10897571)
 * Internal server errors are usually described in more detail in the server error
   log. If you have access to your server error log, generate the error again, note
   the date and time, then immediately check your server error log for any errors
   that occurred during that time period. If you don’t have access to your server
   error log, ask your hosting provider to look for you.
 *  Thread Starter [pressmaster](https://wordpress.org/support/users/longshotisland/)
 * (@longshotisland)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/updated-error-500/#post-10897668)
 * Great point.
 * I had just upgraded to the newest WordPress 4.9.8 when the problems started.
 * Whenever I try to save my permalinks, it adds a line to the htaccess file that
   just doesn’t work. If I take that line out (ExpiresByType default “access plus
   3 hours”), I have a fully functioning website. But I can’t updated my permalinks
   on the dashboard by clicking on save, because it adds that line back in again.
 * None of my error logs are showing anything new. I have access to “error_log” 
   and to “php_errors.log”, but nothing has changed in them. “mail.log” looks fine.
   I’ve tried different themes, plugins and widgets. I run 5 WordPress sites and
   have upgraded all of them and only one has this problem.
 * I did the upgrade via Mojo Marketplace. The Mojo plugin is terrible, by the way.
   Nobody can post comments on my site when it’s active, so I never use it. I’m 
   a big fan of Jetpack and all they have to offer.
 * The WordPress app on my phone crashes a lot when I click on stats. I sometimes
   wonder if 5 WordPress sites is too many for my host…
    -  This reply was modified 7 years, 4 months ago by [pressmaster](https://wordpress.org/support/users/longshotisland/).
    -  This reply was modified 7 years, 4 months ago by [pressmaster](https://wordpress.org/support/users/longshotisland/).
    -  This reply was modified 7 years, 4 months ago by [pressmaster](https://wordpress.org/support/users/longshotisland/).
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/updated-error-500/#post-10897717)
 * In case the upgrade did not complete, try **MANUALLY** updating. [Download WordPress](https://wordpress.org/download/)
   again and unzip it. Access your server via [SFTP or FTP](https://codex.wordpress.org/FTP_Clients),
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), and delete then replace your
   copies of everything on the server **except** the wp-config.php file and the /
   wp-content/ directory with fresh copies from the download. This will effectively
   replace all of your core files without damaging your content and settings. Please
   read the [Manual Update](http://codex.wordpress.org/Updating_WordPress#Manual_Update)
   directions first.
 * **Backup: If you haven’t already done, always backup everything (including your
   database) before doing any actions, just in case something really goes wrong.
   You can never have enough backups! **
 *  Thread Starter [pressmaster](https://wordpress.org/support/users/longshotisland/)
 * (@longshotisland)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/updated-error-500/#post-10956335)
 * It gets even more curious now. I just upgraded to 5.0, no problem with upgrade,
   and now if I even just click on “permalinks” it crashes my site. Before, I had
   to save the new permalink settings to crash the site. Out of the frying pan and
   into the fire.
 * Like I mentioned, I run 5 sites and they all use the same basic plugins. But 
   all 5 htaccess files are different. It’s the line: ExpiresByType default “access
   plus 3 hours”, that crashes the site. Looking more specifically at why that line
   causes problems should lead to solutions.
 * I mean, it’s kind of lame that I can’t even access the Permalinks panel any more.
   Site is 2 years old with close to 50,000 visits, so I don’t want to shut it down.
    -  This reply was modified 7 years, 4 months ago by [pressmaster](https://wordpress.org/support/users/longshotisland/).
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/updated-error-500/#post-10956363)
 * > Whenever I try to save my permalinks, it adds a line to the htaccess file that
   > just doesn’t work.
 * That line most probably added by one of your plugins.
 * > If I take that line out (ExpiresByType default “access plus 3 hours”)
 * That may be the solution.
 *  Thread Starter [pressmaster](https://wordpress.org/support/users/longshotisland/)
 * (@longshotisland)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/updated-error-500/#post-10956455)
 * When I click on “Permalinks” it adds the line back into my htaccess file.

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

The topic ‘Updated Error 500’ is closed to new replies.

## Tags

 * [500 errors](https://wordpress.org/support/topic-tag/500-errors/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [pressmaster](https://wordpress.org/support/users/longshotisland/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/updated-error-500/#post-10956455)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
