It is possible to install WordPress in its own folder as describe above. If you want a blog post to end with .html that is also possible.
The following link provides an answer on how to do this via code:
Add .html (dot HTML) extension to custom post types
Additionally, if you search the WordPress plugin repository, you’ll find plugins that do this as well.
Related Posts:
- Rewrite Slug for CPT Archive Pages to Plural Name of Slug
- How to add custom rewrite rule to .htaccess?
- Problem with add_rewrite_rule and pagination (paged and page query_vars)
- Custom Permalinks for Blog Posts Only
- Detect page type by url (Archive, single, page, author,…)
- How to show the same content on multiple URLs?
- How to seamlessly redirect between different archive and singular slugs?
- Overwrite rewrite-slug of built in post-type ‘post’
- Why does wordpress still strip my query var?
- When to call `add_rewrite_rule` for safety
- Rewrite Rule for Post “Subpage”, with pagination
- unexpected problem in url rewrite
- Need to make a php file inside theme accessible via url
- Remove child category from URL
- Rewrite loading custom template file but is_home() returns true, and there’s no 404
- Change WordPress comments url / word
- Cache issues with redis and nginx
- Rewrite WordPress Custom URL
- WordPress removes spaces in URL on pagination
- add_rewrite_rule not working for language specific characters
- Custom rewrite rule
- Add query string to url and display it as normal url part /folder/
- Flush Rewrite Rules on init or rest_api_init?
- WordPress .htaccess – route other URLs to another app
- URL endpoint with HTML
- How to properly rewrite url by custom var
- Can’t add external rewrites
- How to use URL structure to call PHP code
- Can I have /blog and /foo and /bar all point to the same blog?
- Monkey Man Rewrite Analyzer says my rule will trigger but it doesn’t [closed]
- Append a value to a certain page’s URL before page load
- How do I retain url parameters the entire time a user browses my site?
- Different URL rewrite rules loading the same page
- Cannot access wp-admin without trailing slash – .htaccess configuration for WordPress behind a nginx proxy
- Wildcard forward all posts and pages with few exceptions
- Help with Rewrite Rule for Custom Post Type with Query String
- Create Dynamic SEO Friendly URL for Virtual Page
- add_rewrite_rule with query variables
- WordPress author url to alias domain url? domain.com/author/{username}/
- Remove Category slug from link
- URL rewriting not working
- Rewrite URL for single category
- Help with rewrite rules for two post types
- Pretty URLs and rewrite
- ngnix Url rewrite doesn’t work
- Understanding the query string after .htaccess rewrite
- Rewrites rules disappear after a while
- Is it possible to create dynamic endpoint URLs?
- Using WP Rewrite to rewrite custom urls in this scenario
- Localize URL bases
- Pass parameters to static home page brings up index.php latest posts
- How can i ensure that SQL statements are not displayed if an enduser types the wrong variable name in the URL
- How to redirect Webp files?
- WordPress simple Url Rewrite
- ubuntu + nginx – everything works except “rewrite url structure” [closed]
- Rewriting in wordpress url
- Add pagination to a template loaded by query variable
- Proper way to set up rewrite with Wp
- Add rel=canonical to only one page
- Change /search to /somethingelse
- Why is a rewrite rule in wordpress prevent pagination?
- Rewrite custom taxonomy slug – but only parent items
- get variable from url?
- Rewrite parameters as Url for SEO
- Home page url rewriting WordPress
- Changing the wordpress default search url to something like – …example.com/search?query=keyword
- Custom post type rewrite with categories and static pages
- Custom folder with PDF files (not in WP Library) – Create url for each file
- WordPress is adding “category” word before my actual category name in url (and this is unsolicited)
- WP returns to domain root instead of siteurl
- SEF add_rewrite_rule & add_rewrite_tag not working
- Rewrite WordPress Url from root to subfolder without moving files
- How to pass username in url
- Implementing geotargeting while using a single database
- Url rewrite, add rule, redirect as POST request?
- Broken page redirect
- Add query arg for pretty permalinks in wordpress way
- Homepage cannot be found
- How to add 2 variable rewrite rule?
- Get custom posts by segment of the URL
- Add ReWrite from Old Pages to WordPress (remove .php)
- Rewrite Url to a SEO-friendly format
- Use Parent Pages for URL Structure without Landing Page
- add_rewrite Rule
- How to show my application as referral in WordPress Stats
- Fully mask *all* traces of WordPress installation subdirectory?
- Appending parameters to WordPress query string in backend
- rewrite rule of post when accessed from archives pages
- Redirect A URL Pattern In WordPress Using .htaccess
- Help to cleanup this code
- Rewrite Question
- How to make a custom route with any-string-part/number-part pointing to an existing page?
- username in rewritten URL, howto use it in a template
- Rewwrite rule for mapping plugin static file
- Listing Authors – URL Formats [duplicate]
- wordpress url rewrite Query Var to Static url
- Wrong rewrite rules
- How to make custom WordPress page deliver search results
- URI rewriting: handling one page
- Problems Implementing Non-WordPress Rewrite Rules