[wp-trac] Re: [WordPress Trac] #6460: Feed PHP files are blank when WP has it's own directory

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 30 04:10:13 GMT 2008


#6460: Feed PHP files are blank when WP has it's own directory
-----------------------------+----------------------------------------------
 Reporter:  Viper007Bond     |        Owner:  anonymous
     Type:  defect           |       Status:  new      
 Priority:  highest omg bbq  |    Milestone:  2.5.1    
Component:  General          |      Version:  2.5      
 Severity:  critical         |   Resolution:           
 Keywords:  needs-patch      |  
-----------------------------+----------------------------------------------
Changes (by Viper007Bond):

  * keywords:  => needs-patch
  * summary:  All feed PHP files return no posts, pretty URLs do => Feed
              PHP files are blank when WP has it's own
              directory

Comment:

 Okay, I got how to duplicate it! If `siteurl != homeurl`, it breaks, i.e.
 if WordPress is in it's own directory.

 I made a nice and fresh new WordPress install and both `/feed/` and `/wp-
 rss2.php` worked fine. Then I moved the WordPress files and `/feed/`
 worked while `/subdirectory/wp-rss2.php` did not.

 As to why this is happening is beyond me. I don't know the feed code well
 enough.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6460#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list