Let’s see, this should do the trick then:
RewriteCond %{REQUEST_URI} \.html$
RewriteCond %{REQUEST_URI} !^/specialfolder/
RewriteRule (.*)\.html http://www.example.com$1 [R=301,L]
Related Posts:
- Preg Match All doesn’t Allow echo first character for WordPress Taxonomy Tags
- Adding regex filter to feedwordpress
- Grab WordPress Salt Data From URL
- How can I globally italicize certain text?
- Dynamic URL Rewrite for Custom
- Replace Dash (-) and Underscore ( _ ) with Space
- Apostrophes replaced by '
- Hide prices and checkout functionality in woocommerce
- Alter how often WordPress Auto-Updates Plugins
- How to get a variable number of posts per post type on the main loop?
- How To Determine If A Filter Is Called In A Sidebar/Widget Context?
- Difference between deactivating, uninstalling, and deleting plugins
- Filter Hook on plugin update
- Generic plugin (de)activation hook?
- Is the WordPress HTTPS Plugin Still Safe To Use? [closed]
- How to prefix `attachment` permalinks with `attachment`?
- plugin get value from admin panel page
- WordPress network: set themes and plugins for new blog
- How can I get a list of plugins and which blogs are using them?
- List users except current user using wp_dropdown_user? [closed]
- How WordPress autosave can save plugin fields?
- Multisite Backup Plugin [closed]
- Custom Text Under Navigation Links
- How do I know which plugin uses the most resource?
- Set a category for a page
- How to redirect a Custom Google Search to a wordpress page/template?
- WordPress 5 upgrade: until when is it safe to keep project running in 4.x?
- force customers to add only single item to card per purchase EDD [closed]
- Write to / remove from default .htaccess file from plugin?
- How to obtain page breadcrumb based on menu structure only?
- 404 Error on Activate / Deactivate Plugin
- Weird lightbox phenomenon [closed]
- Redirecting to home page after login as custom role WordPress
- Only allowing some email addresses to create an account
- Where (or when) should I register a new taxonomy?
- Widget with same content across several websites
- WordPress plugin compatibility explaination when wordpress releases its new version (theoretical)
- How to enable specific plugin only based around shop manager role?
- Fixing WordPress’s Bug (failed to send buffer of zlib output compression) results in “White Screen of Death”
- How to tie dark mode with prefers-color-scheme webkit? [closed]
- how to oauth1 Wp plug-in revoke/reset.?
- Why can’t I access my Intranet LDAPS with NADI?
- qTranslate remove default directory from link
- Custom User meta field display
- BbPress Register Page in Breadcrumbs
- Every new post/draft has a custom field variable “yst_is_cornerstone” showing
- Integrating WP E-commerce plugin into custom theme
- Is it possible to send blog posts via email to subscribers?
- WordPress Multisite: Programmatically Activate / Deactivate a Plugin of a Specific Blog
- multiple language website navigation menu suggestion
- Woocommerce Change The Price Of A Product Once Woocommerce Has Retreived It From Database
- Tools for styling code snippet in a web page
- composer not working on my plugin when i upload it to my website
- How to get theme’s info from wordpress.org/themes using api.wordpress.org?
- What is the WordPress approach to custom data?
- How do I create a custom permalink structure for a page template
- How to remove a class function from a plugin by using remove_action()?
- speed up pagination for huge database
- Blurry images when loading the page first time
- Hook for altering the content of all wp mails
- I want to filter my products with attributes [closed]
- How to rewrite URL and get the values?
- Default WordPress gallery or very lightweight alternative to it?
- How to add a button to check the emails of my domain?
- Disable plugin visibility at the plugin directory
- WordPress.com Like Button
- WordPress Sitemap for MSSQL
- Method/Plugin/Hack to Start a Post with an Writing Outline?
- Widgets are not displaying in the admin panel
- how to remove share button from image overlay
- Content-Security-Policy implementation with WordPress W3Total Cache plugin installed
- How Can I Create A Form In WordPress For Subscribers To Alert Them about new Listing posted?
- Failed GET Request From admin.php To Fetch .min.js File From Unminifed Directory
- How to write different events from different functions in my file to a log file in WordPress
- Create a form and have custom menu display based on user answers?
- How to make a plugin api route have permission?
- WordPress eMails not working
- How to Disable Right Click on wordpress Dashboard(Admin Area)
- How to wrap image tag into div for post only?
- Customize plugin templates
- admin-ajax.php returning 0
- Modifying meta keys in User Meta Pro using user_meta_pre_user_register not working
- Problem with conditional woocommerce custom checkout field
- User Affiliate Token Generator?
- jQuery to show icon after .hide
- Content-single.php inside my plugin
- Change wp_mail SMTP settings for each E-Mail
- WordPress Thumbnail add action if no thumbnail
- How to set the captcha at the bottom of comments textarea
- How do I get WooCommerce to recreate the home page?
- conditional tags for the output of a plugin
- Pass strings to plugin function [closed]
- How to display a link in the footer section
- How can I replace the built in WordPress editor?
- Place max_execution_time in plugin [closed]
- Is there a WP-Plugin to convert PNG to GIF? [closed]
- WP Members additional fields on user profile [closed]
- How do I edit a plugin’s core properly?
- Set the Social Icon Size in footer
- Use custom Javascript for a custom Elementor Widget [closed]