Wordpress错误-服务器问题/htaccess/functions.php

Wordpress错误-服务器问题/htaccess/functions.php,php,wordpress,Php,Wordpress,任何人都知道为什么这个URL可以完美地工作: 但是这个URL会导致Wordpress错误吗? 这是Wordpress问题还是服务器/a-record/htaccess问题 谢谢 myHTAccess文件: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-

任何人都知道为什么这个URL可以完美地工作:

但是这个URL会导致Wordpress错误吗?

这是Wordpress问题还是服务器/a-record/htaccess问题

谢谢

myHTAccess文件:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
#开始WordPress
重新启动发动机
重写基/
重写规则^index\.php$-[L]
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则/index.php[L]
#结束WordPress
My functions.php文件(我构建的主题子主题的一部分):

/*添加自定义JQUERY*/
函数childtheme_scripts(){?>
我找到了这个线程

它说检查functions.php是否在开始
结束标记之前有空格

引述:

  • 下载错误消息中提到的文件
  • 在纯文本编辑器中打开该文件
  • 检查第一个字符是否正确
  • 检查最后一个字符是否为?>
  • 将光标放在?和>
  • 现在,按计算机上的DELETE键,并将该键保持按住一段时间 至少15秒
  • 现在键入>和
  • 保存而不按任何其他键
  • 如果这解决了问题,那就是WordPress的问题。您可能有一个插件,可以使用www.plumCreeKgaric.com将用户重定向到plumCreeKgaric.com,但正如错误所述,当输出已经启动时,无法发送标题信息(位置)

    如果您有这样的插件,请删除此插件并使用:


    什么样的Wordpress错误?警告:无法修改标题信息-第890行/home/content/16/7272716/html/wp content/themes/plumcreek/functions.php:63)中/home/content/16/7272716/html/wp includes/pluggable.php中已发送的标题我真的不明白www与问题有什么关系。
    /* ADD CUSTOM JQUERY */
    
    function childtheme_scripts() {?>
        <script type="text/javascript" src="http://plumcreekgarlic.com/wp-content/themes/plumcreek/custom_jquery.js"></script>
    <?php }
    add_action('wp_head','childtheme_scripts');
    ?>
    
    <?php
    /* ADJUST CATEGORY TITLES 
    Info here: http://www.cozmoslabs.com/forums/topic/change-title-for-category-archive
    */
    function street_page_title() {
            $content = '';
            if (is_attachment()) {
                    $content .= '<h2 class="page-title"><a href="';
                    $content .= get_permalink($post->post_parent);
                    $content .= '" rev="attachment"><span class="meta-nav">&laquo; </span>';
                    $content .= get_the_title($post->post_parent);
                    $content .= '</a></h2>';
            } elseif (is_author()) {
                    $content .= '<h1 class="page-title author">';
                    $author = get_the_author();
                    $content .= __('Author Archives: ', 'thematic');
                    $content .= '<span>';
                    $content .= $author;
                    $content .= '</span></h1>';
            } elseif (is_category()) {
                    $content .= '<h1 class="entry-title">';
                    $content .= __('', 'thematic');
                    $content .= ' <span>';
                    $content .= single_cat_title('', FALSE);
                    $content .= '</span></h1>' . "\n";
                    $content .= '<div class="archive-meta">';
                    if ( !(''== category_description()) ) : $content .= apply_filters('archive_meta', category_description()); endif;
                    $content .= '</div>';
            } elseif (is_search()) {
                    $content .= '<h1 class="page-title">';
                    $content .= __('Search Results for:', 'thematic');
                    $content .= ' <span id="search-terms">';
                    $content .= wp_specialchars(stripslashes($_GET['s']), true);
                    $content .= '</span></h1>';
            } elseif (is_tag()) {
                    $content .= '<h1 class="page-title">';
                    $content .= __('Tag Archives:', 'thematic');
                    $content .= ' <span>';
                    $content .= __(thematic_tag_query());
                    $content .= '</span></h1>';
            }   elseif (is_day()) {
                    $content .= '<h1 class="page-title">';
                    $content .= sprintf(__('Daily Archives: <span>%s</span>', 'thematic'), get_the_time(get_option('date_format')));
                    $content .= '</h1>';
            } elseif (is_month()) {
                    $content .= '<h1 class="page-title">';
                    $content .= sprintf(__('Monthly Archives: <span>%s</span>', 'thematic'), get_the_time('F Y'));
                    $content .= '</h1>';
            } elseif (is_year()) {
                    $content .= '<h1 class="page-title">';
                    $content .= sprintf(__('Yearly Archives: <span>%s</span>', 'thematic'), get_the_time('Y'));
                    $content .= '</h1>';
            } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) {
                    $content .= '<h1 class="page-title">';
                    $content .= __('Blog Archives', 'thematic');
                    $content .= '</h1>';
            }
            $content .= "\n";
    return $content;
    
    }
    add_filter('thematic_page_title', 'street_page_title');
    ?>
    
    RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]