HEX
Server: nginx/1.28.1
System: Linux iZgw8b5bpgd4jyptfmmmxgZ 6.6.102-5.2.alnx4.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 27 23:11:10 CST 2025 x86_64
User: www (1000)
PHP: 8.2.28
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.scdc-marine.com/wp-content/plugins/Static-Html-Output/views/tab_processing.phtml
<div class="processing_settings" style="display:none;">

<table class="form-table">
    <tbody>
        <tr>
        <th scope="row">
            <label for="useRelativeURLs"><?php echo __('使用相对 URL', 'static-html-output-plugin');?></label>
        </th>
        <td>

            <?php $tpl->displayCheckbox($this, 'useRelativeURLs', '使用相对 URL'); ?>

            <p style=" padding-top:10px;"> 导出站点中的URL将重写为 relative URLs. 如: <code>http://mydomain.com/some_dir/some_file.jpg</code> 将成为 <code>some_dir/some_file.jpg</code></p>
        </td>
        </tr>
        <tr>
            <th scope="row">
            <label for="baseHREF"><?php echo __('Base HREF 基准标记', 'static-html-output-plugin');?></label>
            </th>
            <td>
            <?php $tpl->displayTextfield($this, 'baseHREF', 'Base HREF', '', ''); ?>

            <p  style=" padding-top:10px;">设置此选项将告诉浏览器以此为基础解析所有URL。例如,Base HREF 以 <code>/</code> 以及上面启用的相对URL设置,一个 <code>some_dir/some_file.jpg</code> 将解码为 <code>/some_dir/some_file.jpg</code></p>
            </td>
        </tr>
        <tr>
            <th scope="row">
            <label><?php echo __('重写源代码中的链接', 'static-html-output-plugin');?></label>
            </th>
            <td>
            <p>为了隐藏站点使用WordPress的任何跟踪,将重写以下路径。您可以保留这些默认选项,但为了获得更多控制,可以覆盖它们.</p>
            <p>例如,替换源代码中的默认WordPress路径</p> 
            <p>使用完整路径,例如:</p>

            <div style="margin: 10px 0px;font-size: 18px;font-weight:500;color:#a93b3b;background: rgba(0,0,0,.07);padding: 15px;border-radius: 5px;max-width: 960px;line-height: 25px;">
                wp-content/themes/heku-cms\assets,assets<br>
                wp-content/themes/heku-cms/assets,assets<br>
                wp-content/uploads,assets/uploads<br>
            </div>
        
            <p>网址将首先检查,以确保他们是这个网站的一部分,而不是一个外部WordPress网站,这将混乱的链接图像等网址</p>

            <br>

    <?php
        $default_rewrite_rules = '';
    ?>

            <textarea class="widefat" name="rewrite_rules" id="rewrite_rules" rows="5" cols="10"><?php echo $this->options->rewrite_rules ? $this->options->rewrite_rules : $default_rewrite_rules;  ?></textarea>
            </td>
        </tr>
        <tr>
            <th scope="row">
            <label><?php echo __('重命名导出的目录', 'static-html-output-plugin');?></label>
            </th>
            <td>
            <p>可能需要,如果做任何上述网址重写.</p>
            <p>设置源目录,然后设置逗号和目标目录. </p>
            <p>将目录 wp-content/themes/twentyseventeen 修改为 contents/ui/mytheme, 需要如下:</p>
            
            
            <div style="margin: 10px 0px;font-size: 18px;font-weight:500;color:#a93b3b;background: rgba(0,0,0,.07);padding: 15px;border-radius: 5px;max-width: 960px;line-height: 25px;">
                wp-content/themes/heku-cms\assets,assets<br>
                wp-content/uploads,assets/uploads<br>
            </div>

            <br>
    <?php
        $default_rename_rules = '';
    ?>

            <textarea class="widefat" name="rename_rules" id="rename_rules" rows="5" cols="10"><?php echo $this->options->rename_rules ? $this->options->rename_rules : $default_rename_rules;  ?></textarea>
            </td>
        </tr>
        <tr>
        <th scope="row">
            <label for="stripping"><?php echo __('清除积垢 cruft', 'static-html-output-plugin');?></label>
        </th>
        <td>

            <?php $tpl->displayCheckbox($this, 'removeConditionalHeadComments', '删除HEAD中的条件注释', 'checked'); ?>

            <p>大多是过时的,以前用于检测Internet Explorer的版本并提供不同的CSS或JS.</p><br>

            <?php $tpl->displayCheckbox($this, 'removeWPMeta', '删除WP Meta标记'); ?>

            <p>The <code>&lt;meta&gt; name="generator" content="WordPress 4.9.8" /&gt;</code> type tags.</p><br>

            <?php $tpl->displayCheckbox($this, 'removeWPLinks', '删除 WP &lt;link&gt; tags'); ?>

            <p>ie, <code>&lt;link& rel="EditURI"...</code> type tags that usually aren't needed.</p><br>

            <?php $tpl->displayCheckbox($this, 'removeHTMLComments', 'Remove HTML comments'); ?>

            <p>如: <code>&lt;!-- / Yoast SEO plugin. --&gt;</code> 键入浪费字节的注释</p><br>
        </td>
        </tr>
    </tbody>
</table>

</div><!-- end processing_setings -->