[wp-trac] [WordPress Trac] #17808: Using only custom post types results in 404 on RSS feeds
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 15 10:20:29 UTC 2011
#17808: Using only custom post types results in 404 on RSS feeds
--------------------------+------------------------------
Reporter: heilhard | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version: 3.1.3
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by heilhard):
Oh, this is the result without --head
{{{
# curl -v http://localhost/?feed=newsfeed
* About to connect() to localhost port 80 (#0)
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 80 (#0)
> GET /?feed=newsfeed HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7
OpenSSL/0.9.8l zlib/1.2.3
> Host: localhost
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Date: Wed, 15 Jun 2011 10:19:22 GMT
< Server: Apache/2.2.17 (Unix) mod_fcgid/2.3.5 mod_ssl/2.2.17
OpenSSL/0.9.8l DAV/2 mod_wsgi/3.3 Python/2.7.1 PHP/5.3.4
< X-Powered-By: PHP/5.3.4
< X-Pingback: http://localhost/xmlrpc.php
< Last-Modified: Wed, 15 Jun 2011 10:19:22 GMT
< ETag: "94471d4c9f96266146e2b123cf0ff15f"
< Expires: Wed, 11 Jan 1984 05:00:00 GMT
< Cache-Control: no-cache, must-revalidate, max-age=0
< Pragma: no-cache
< Content-Length: 1274
< Content-Type: text/xml; charset=UTF-8
<
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
>
<channel>
<title>wpdev » Page not found</title>
<atom:link href="http://localhost/?feed=newsfeed" rel="self"
type="application/rss+xml" />
<link>http://localhost</link>
<description>Just another WordPress site</description>
<lastBuildDate>Wed, 15 Jun 2011 10:08:16 +0000</lastBuildDate>
<language>en</language>
<sy:updatePeriod>daily</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>http://wordpress.org/?v=3.1.3</generator>
<item>
<title>test</title>
<link>http://localhost/?custom_news=test</link>
<pubDate>Wed, 15 Jun 2011 10:08:16 +0000</pubDate>
<dc:creator>admin</dc:creator>
<guid
isPermaLink="false">http://localhost/?post_type=custom_news&p=5</guid>
<description><![CDATA[test]]></description>
<content:encoded><![CDATA[<p>test</p>
]]></content:encoded>
</item>
</channel>
</rss>
* Connection #0 to host localhost left intact
* Closing connection #0
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17808#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list