It depends on what the HTML contains. You might be able to create a script that reads each HTML file, inserts a Page, adds Media, and populates the content – but that will likely be more effort than manually setting the pages up yourself in the Editor.
I’m not sure you could fully script the links as content, unless you first create a Page for each HTML file and save its slug, then populate the content of each Page separately (so its slug already exists and will point to a valid URL).
HTML can contain so much, and WordPress themes usually output a sitewide header and footer – so your opening <html>
tag, the <head></head>
tag, etc. are likely not to be something you want pulled into the actual Page content. If you have a lot of custom elements – such as CSS stylesheets or JS files – you may need to create blocks for those, or find another way to present the content, like creating Page templates in your (child) theme.
Related Posts:
- InDesign to WordPress workflow
- I am trying to match the wpallimport using the Xpath Filter
- How to export post 2 posts WordPress plugin data [closed]
- import posts with dutch/special letters
- Import only new articles from Joomla to WordPress
- Why doesn’t the WordPress Importer update posts?
- Some way to Flush or Overwrite all Imported Content in a Site for a Fresh Import – How?
- WordPress import does not fetch images, but just links them
- Unable to activate wordpress importer after installing it
- Exporting and importing my WordPress database, but none of the plugin settings are importing
- Why Won’t Exported Blog From One Site Import Into New Site?
- Media is not attached after import
- Creating an online questionnaire form – by Importing the questions from a spreadsheet?
- WordPress Gutenberg react make import of __experimentalUseInnerBlocksProps which is no more experimetal
- CSV syntax for WP All Import upload without ACF
- WP ALL Import plugin – import data from certain ids
- How to import multiple language mutations to polylang?
- How can I copy all users to newly created site on a multisite network in WordPress?
- WP All Import – Execute Imports
- Permalinks stopped working after migration with WP all-in-one migration plugin
- WordPress and a secondary database?
- How to export all content with feature images?
- Import Instagram post to WordPress blog post
- Designing a plugin that uses an iFrame to process data in admin
- Plugin generating unexpected output – on WP mysql dump import
- Attachments broken after giving WordPress its own directory
- Importing csv file
- WordPress does not allow me to upload a .xml file
- Import Recent Posts Only and Ignore old ones if exist
- Save log for imports in WordPress database – options-table, custom post type or other place?
- Bulk Edit Media Library alt, caption, image names
- best way to upload a large file to wordpress using wp all import
- Add a WooCommerce Product Variant with attributes programmatically
- Import tumblr post to wordpress blog
- phpBB 3 to bbPress
- How to export and import plugin data through WordPress tools option
- Include theme header and footer in custom plugin
- How to prevent WP All Export from wrapping XML nodes in CDATA? [closed]
- How can I properly sanitize the update_option in WordPress?
- How to register new elementor widget in functions.php
- My Blog page ( posts page ) theme isn’t changing with the new theme [closed]
- how to embed a crop feature for cropping images uploaded by the user
- Console errors after WordPress Update 6.1
- How to give access to the particular page in wordpress for specific username/email NOT roles [closed]
- Why is my menu page not being displayed?
- Foreach retun in shortcode
- How to change post status to draft in Gutenberg?
- How to modify submit button on GravityForms
- How to add custom html to the Media > Attachment Details modal?
- Filter custom post type returned from REST api
- Plugin Option Fire Custom Function After Save
- Unable to access WPadmin, website down
- ‘Active lotteries’ only custom query for woocommerce lottery plugin and elementor
- WP Elementor Pro causing crtical failure on website
- My wp_update_nav_menu action is firing twice
- How to display content depending on the Woocommerce Product Category
- WooCommerce Subscriptions not working for variable product
- Ajax button “Load more” is not loading correct language version posts for logged out users
- Is it possible to add permalink when using wp_insert_post?
- Render CMB2 select option to post page [closed]
- Create Custom Coupon Type
- WordPress REST API Visual Composer Shortcodes
- How to create a “plugin” or “block” that can manipulate WordPress DOM in frontend?
- Update acf field in woocommerce orders
- Unable to pass arguments from plugin form to filter hook using ajax, the data is transferring via ajax but unable to pass as arguments in filter hooks
- Displaying Category Feature image on loop
- GTranslate Plugin – Showing Different Codes With if-else
- Text Wrapping in WPDataTables
- How to update changes to multiple sites at the same time
- How to rename files during upload to a random string?
- Custom gutenberg block image preview not working
- how to show selected options drop down menu values in attributes field in after saving post.php
- Redirecting to page on form submit – Revue plugin
- Create WordPress category dynamically
- How can I utilize the same “show more” functionality that I see in superuser on my own WordPress site?
- WordPress Feature – Multi Level sorting
- How to Allow Users to Select Recipients In a WordPress Comment section?
- Can i have limit posts on a specific category and automatically remove older ones?
- How to remove site name (https://exp.com/) from WORDPRESS site source links or file load url
- WDTException: [0]: One or more columns doesn’t have a header
- De-index plugin files
- manage_{taxonomy}_custom_column not working
- How to Add Extra Text In WordPress Title Before Post Publish
- Update title field while listing wordpress page titles in Elementor selector
- Upload Malicious File via Upload Plugin Prevention
- fatal erro in one line if statment in wordpress plugin [Solved]
- Take Elementor For Email FIeld Check if user is registered. IF not registered then register on woocommerece
- How can I display custom snippet codes in the front end of my WordPress site
- How can I make a quotation engine like this website in WooCommerce?
- I want to set a different banner for each product in the woocommerce plugin on my wordpress site
- How often should I execute add_filter and function declaration in Code Snippets?
- Add different sizes packaging boxes to orders plugin
- Function not being called on form submit, only blank admin-post.php page
- How to show image caption in Woocommerce gallery
- Can’t use updated variables in handle function
- Template selector for woocommerce product
- how to get the url of a custom uploaded file
- WordPress GiveWP Plugin showing blank page in none default theme [closed]
- How to access values from your own settings page in javascript?
- Fragmented Static Conversion of WordPress Pages