You can edit your .htaccess directly or download an htaccess editor plugin for WordPress. Then write your rule similar to this:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*) $1.html [nc]
For more detailed instructions
Related Posts:
- Masking wp-content/themes/name/images to just images directory using htaccess
- Using custom/dynamic “slug” for a page
- How do I remove a rewrite rule?
- Use subdomain for certain urls
- Rewrite URL – how to do a SEO-friendly Unicode custom URL?
- Can I call a custom plugin with a direct URL
- Custom slug in front of search URL
- Display posts with author in the url with custom post types
- Clash of the rewrites
- Query Vars for the Homepage?
- Disable wordpress pagination URL rewrite for specific page
- How to use Post Custom Metadata in Post Titles and Post Permalinks
- Using WordPress with Apache behind an nginx reverse proxy
- How do i change the search permanent links
- add_rewrite_rule() not playing nice with child pages
- rewrite_rule() not preserving the query string
- Appending numbers to url do not break the link
- Custom rewrite rules are sending everything to index.php
- WordPress Network on IIS7/SQL Server – Rewrite Issues
- Custom comments
- How to Change Author Posts URL
- WordPress 404 unless there is a space in url
- Add .html extension to only one page in my WordPress site
- Migrating a page to be an article
- Issue with using .htaccess to redirect feedburner feed
- How to create an endpoint without creating sub endpoints?
- Is there a ‘rake routes’ for wordpress?
- ‘rewrite_rules_array’ or ‘generate_rewrite_rules’ for adding custom rewrite rules?
- WordPress Page Id
- How to rewrite taxonomy and tags URL
- Custom rewrite not working
- Changing WordPress Address URL disaster
- Prevent WordPress from Rewriting URL for one template
- Disable Pagination on Pages
- WordPress 3.9 breaks invalid permalinks.. code fix possible?
- Hide admin login without plugin
- Need help with simple rewrite rule (shouldn’t this be easy?)
- How to add a custom redirect rule for Post as subdomains?
- Trying to find the location of a rewrite of the URL query
- “View post” leads to odd URL
- Redirect HTTP to HTTPS for all sub domains (blog posts)
- Get url param no longer works when using add_rewrite_rule
- How to use add_rewrite_rule in subdomain
- Why is WordPress rewriting absolute URLs on staging site to include staging prefix when we manually point them at the live site?
- How to create a URL Rewrite rule?
- How can I redirect product url to category then product url?
- Map secondary domain to other’s virtual subfolder
- adding custom controller called by front-end
- rewrite attachment url with attachment title
- Enpoint Not Found in Rewrite Tag Permalink
- Custom Rewrite Rules
- URL Rewrite with Custom Variables
- htaccess rewrite, adding segment to url
- Custom Download Link
- Rewrite /category/cars into /topics/cars
- show ALL latest posts with archive.php on example.com/latest
- Adding a query string to only one page url
- Url rewrite with htaccess
- Custom Structure permalinks error 404
- WordPress Rewrite rule is not working
- change the url in wordpress
- how to move another machine or server without dealing with IP
- Add extra optional text to permalink e.g. “-with-*”
- change url for portfolio image
- remove archive from url :: marketpress
- Use URI suffix as parameter and ignore when resolving page
- How to change url of specific posts with name of a root page
- Why wordpress rewrite my custom URL?
- Rewrite rule regex help required
- Redirect empty search to another page
- Rewrite dynamic URLs as pretty URLs in WordPress functions.php (add_rewrite_rule) – what’s wrong with my code?
- WordPress URL redirect and replace ? question mark
- Change author base and slug in author link
- Rewrite rule not working, suspect redirect string
- WordPress index in subdirectory, blogposts in root directory
- Fresh install redirects to www, breaking page loads
- Rewrite Url using .htaccess or hook
- url restructure or rewrite having $_GET variables
- How to use a RewriteRule to change endpoint url
- Custom taxonomy Rewrite Rule
- taxonomy term in URL slug won’t forward to the correct term for custom post like it does for default categories/normal posts
- Error 404 wordpress redirecting URL
- I want to add one extra field to my URLs, I’m using Rewrite functions but it doesn’t work
- .htaccess RewriteRule to include post type and taxonomy
- What’s the best approach to do this?
- rewrite rule for home/index page
- WPNetwork with custom URL Rewrite rules
- WordPress index page is returning 404 and admin page requires /index.php in url
- Stop wordpress to redirecting home page if no page found
- Additional .htaccess rules based on wp page
- URL Rewriting in WordPress
- Rewrite URL variable to custom path
- Own code on index.php wordpress theme file, help with the rewrite rules
- URL rewrites af
- Hide / rewrite download link
- Lost WordPress website access after changing URL [closed]
- Spurious URL structure (Adding extra /0/s)
- Programmatically add a custom url route “/category/index.json” to return a collection of posts in json
- WP-Include rewrite directory
- WordPress is adding pagination for all pages like www.example.com/page/123. How to remove that?