Title: rewrites_not_working
Last modified: September 8, 2021

---

# rewrites_not_working

 *  Resolved [knzzz](https://wordpress.org/support/users/knzzz/)
 * (@knzzz)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/rewrites_not_working/)
 * I have the basic WordPress htaccess file. I’ve followed the FAQ steps. Am I missing
   something?

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

 *  Thread Starter [knzzz](https://wordpress.org/support/users/knzzz/)
 * (@knzzz)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/rewrites_not_working/#post-14851172)
 * Also, the plugin was working till morning. I also did update all the pending 
   updates. I do have WP Total Cache entries in my .htaccess file. Also, I have 
   no rule that disables rewrites!
 *  Thread Starter [knzzz](https://wordpress.org/support/users/knzzz/)
 * (@knzzz)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/rewrites_not_working/#post-14851855)
 * Hello, I just found out that the htaccess files are repeatedly getting cleared
   after saving from FAQ (Configuration for Multisite Network). I still have FAQ(
   How to change .htaccess rules?) code in my functions.php. Should I remove it 
   after saving?
 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/rewrites_not_working/#post-14852772)
 * Hello [@knzzz](https://wordpress.org/support/users/knzzz/),
 * Thanks for your message.
 * I have released an update that corrects the .htaccess file overwriting error 
   for the WordPress Multisite Network.
 * Try to manually configure your website now.
 * Best,
    Mateusz
 *  Thread Starter [knzzz](https://wordpress.org/support/users/knzzz/)
 * (@knzzz)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/rewrites_not_working/#post-14853142)
 * Hello,
    Thank you very much! The settings page still shows the error for me. 
   Should I keep this code in functions.php?
 *     ```
       add_filter( 'webpc_htaccess_mod_rewrite', function( $rules, $path ) {
           return '';
           }, 10, 2 );
           add_filter( 'webpc_htaccess_mod_mime', function( $rules ) {
               return '';
           } );
           add_filter( 'webpc_htaccess_rules', function( $rules, $path ) {
               return '';
           }, 10, 2 );
       ```
   
 * Or should I remove it? When I keep these code it, the .htaccess files get cleared
   and images served are jpg. If I delete these code, the error in plugin page goes
   away, but images served are still jpg.
 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/rewrites_not_working/#post-14853437)
 * [@knzzz](https://wordpress.org/support/users/knzzz/) Remove these filters from
   your functions.php file.
 * Can you give me the URL of your website?
 *  Thread Starter [knzzz](https://wordpress.org/support/users/knzzz/)
 * (@knzzz)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/rewrites_not_working/#post-14873201)
 * I removed it. But the problem persists.
    `https://www.center plast.de/`
 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/rewrites_not_working/#post-14884595)
 * [@knzzz](https://wordpress.org/support/users/knzzz/) From what I can see, everything
   on your website works fine.

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

The topic ‘rewrites_not_working’ is closed to new replies.

 * ![](https://ps.w.org/webp-converter-for-media/assets/icon-256x256.png?rev=2636288)
 * [Converter for Media - Optimize images | Convert WebP & AVIF](https://wordpress.org/plugins/webp-converter-for-media/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/webp-converter-for-media/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/webp-converter-for-media/)
 * [Active Topics](https://wordpress.org/support/plugin/webp-converter-for-media/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/webp-converter-for-media/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/webp-converter-for-media/reviews/)

## Tags

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

 * 7 replies
 * 2 participants
 * Last reply from: [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/rewrites_not_working/#post-14884595)
 * Status: resolved