displayCheckbox($this, 'useRelativeURLs', 'Use relative URLs'); ?>

URLs in the exported site will be rewritten as relative URLs. ie, http://mydomain.com/some_dir/some_file.jpg will become some_dir/some_file.jpg

displayTextfield($this, 'baseHREF', 'Base HREF', '', ''); ?>

Setting this will tell the browser to resolve all URLs using this as a base. ie, with a Base HREF of / and the relative URL setting enabled above, a relative link of some_dir/some_file.jpg will resolve to /some_dir/some_file.jpg

In order to hide any trace that your site uses WordPress, the following paths will be rewritten. You can leave these default options in, but for more control, you can overwrite them.


Replace, for example, default WordPress paths within the source code


use the full path, such as:

            wp-content/themes/twentyseventeen/,contents/ui/mytheme/
            wp-includes/,inc/
        
URLs will be first checked to ensure they are part of this site, not an external WordPress site, which would mess up URLs of linked images, etc

Likely required if doing any URL rewriting above.


Set the source directory, then a comma and the target directory.

In order to move wp-content/themes/twentyseventeen to contents/ui/mytheme, we'd need:

wp-content,contents
contents/themes,contents/ui
contents/ui/twentyseventeen,contents/ui/mytheme
wp-includes/,inc/

displayCheckbox($this, 'removeConditionalHeadComments', 'Remove conditional comments within HEAD', 'checked'); ?>

Mostly obsolete, previously used for detecting versions of Internet Explorer and serving different CSS or JS.


displayCheckbox($this, 'removeWPMeta', 'Remove WP Meta tags'); ?>

The <meta> name="generator" content="WordPress 4.9.8" /> type tags.


displayCheckbox($this, 'removeWPLinks', 'Remove WP <link> tags'); ?>

ie, <link& rel="EditURI"... type tags that usually aren't needed.


displayCheckbox($this, 'removeHTMLComments', 'Remove HTML comments'); ?>

ie, <!-- / Yoast SEO plugin. --> type comments that are ridiculously wasting bytes