RSS won’t work “Page not found”
-
Can’t get my RSS-feed to work. I’ve already tried to deactivated all plugins, didn’t work. I have added some hacks to functions.php. So I changed it back to deafult, rss still don’t work. I have googled each plugin for problem/conflict with rss-feeds. No hits.
Anyone have an idea what’s wrong? I have WordPress 2.8.3 and use Binero webhotel.
Site is https://dagensdans.se
My header.php looks like this:
` <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml”><head>
<link rel=”shortcut icon” href=”<?php bloginfo(‘template_directory’); ?>favicon.ico” />
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<title><?php if (is_home () ) { bloginfo(‘name’); echo ” – “; bloginfo(‘description’);
} else { wp_title(”,true); echo ” – “; bloginfo(‘name’); }?></title>
<meta name=”robots” content=”index,follow” />
<meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” />
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
<link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
<link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<!– TradeDoubler site verification 1699567 –>
<?php wp_head(); ?></head>
<body>
<div id=”wrapper”><div id=”header”>
<div class=”topright”>
<?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
</div>
</div> <!– Closes Header –><div class=”cleared”></div>
<div id=”underheader”>
<div id=”toprss”>“>
<img src=”<?php bloginfo(‘template_directory’); ?>/images/grabrss.gif” alt=”prenumerera p? rss”></img>
</div><h1 class=”sitename”>“><?php bloginfo(‘name’); ?></h1>
“>
<img src=”<?php bloginfo(‘template_directory’); ?>/images/header_logo.jpg” alt=”Dagens Dans”></img></div><!– Closes underHeader –>
<div id=”nav”>
<?php function get_the_pa_ges() {
global $wpdb;
if ( ! $these_pages = wp_cache_get(‘these_pages’, ‘pages’) ) {
$these_pages = $wpdb->get_results(‘select ID, post_title from ‘. $wpdb->posts .’ where post_status = “publish” and post_type = “page” order by ID’);}
return $these_pages;
}function list_all_pages(){
$all_pages = get_the_pa_ges ();
foreach ($all_pages as $thats_all){
$the_page_id = $thats_all->ID;if (is_page($the_page_id)) {
$addclass = ‘ class=”current_page”‘;
} else {
$addclass = ”;
}
$output .= ‘<li’ . $addclass . ‘>ID).'” title=”‘.$thats_all->post_title.'”><span>’.$thats_all->post_title.'</span>‘;
}return $output;
}
?>-
<?php
if (is_home()) {
$addclass = ‘ class=”current_page”‘;
} else {
$addclass = ”;
}
echo “<li” . $addclass . “><span>Home</span>“;
echo list_all_pages();?><div class=”cleared”></div>
</div> <!– Closes Nav –><div class=”topcurvewhite”></div>
<div id=”main”>
- The topic ‘RSS won’t work “Page not found”’ is closed to new replies.