简体   繁体   English

WordPress网站上的Crazy 403 Forbidden Error

[英]Crazy 403 Forbidden Error on Wordpress Site

Just installed a new theme on my site: www.rivertam.co 刚在我的网站上安装了一个新主题:www.rivertam.co

For some reason I keep getting this 403 Forbidden error at the top of it. 由于某种原因,我始终在此顶部看到此403 Forbidden错误。

I've tried removing the htaccess file like some have suggested, nothing happens. 我已经尝试删除htaccess文件,就像有人建议的那样,什么也没有发生。 Really no idea why it's there. 真的不知道为什么它在那里。

Can anyone give me any suggestions? 谁能给我任何建议吗?

Happy to paste any PHP you may need. 很高兴粘贴您可能需要的任何PHP。 Just let me know! 请让我知道!

Header.php code: Header.php代码:

<!DOCTYPE html>

> > > > >>>>

<title><?php wp_title( ' ', true, 'right' ); /* filtered in libraries/filers.php */ ?></title>

<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />

<link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/favicon.gif" />
<link rel="apple-touch-icon" href="<?php echo get_template_directory_uri(); ?>/apple-touch-icon.png" />

<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />

<!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<![endif]-->

<?php
    // See functions.php for CSS / JAVASCRIPT information
    wp_head(); // do not remove this        
?>      

> >

<div id="branding_wrap">
    <header id="branding">  
        <div class="container">

            <?php
                // Grab the column settings from theme settings to determine the logo/menu container sizes
                $logo_columns = $menu_columns = "eight";
                $header_layout = cudazi_get_option( 'header_layout', 'eight|eight' );
                $header_layout = explode('|', $header_layout);
                if ( is_array( $header_layout ) ) {
                    $logo_columns = $header_layout[0];
                    $menu_columns = $header_layout[1];
                }                   
            ?>

            <hgroup class="<?php echo $logo_columns; ?> columns">               
                <h1 id="logo"><?php echo cudazi_get_logo(); ?></h1>
                <?php if ( ! cudazi_get_option( 'disable_tagline', false ) ) { ?>
                <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
                <?php } ?>
            </hgroup>       
            <nav class="<?php echo $menu_columns; ?> columns" id="navigation" role="navigation">
                <?php wp_nav_menu( array( 'menu_class' => 'sf-menu clearfix', 'theme_location' => 'primary', 'fallback_cb' => 'cudazi_menu_fallback' ) ); ?>                        
                <?php echo cudazi_alternate_menu( array( 'menu_name' => 'primary', 'display' => 'select' ) ); ?>
            </nav>
        </div><!--//container (skeleton) -->
    </header><!--//header-->
</div>

<section id="main">

Do you include any other files programmativally? 您是否以编程方式包括其他文件? (AJAX?) If yes I would first check permissions! (AJAX?)如果是,我将首先检查权限! Files have to be world-readable (in normal setups) to be delivered through web... 文件必须是世界可读的(在常规设置中),才能通过网络传送...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM