Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Something seems to be wrong with your “feed” permalink.

    I was able to pull up your feed via this link: https://mjmorrissey.com/journal/?feed=rss2

    Might try updating your permalink structure. Don’t know if it’ll work though.

    Thread Starter mjmbkk1

    (@mjmbkk1)

    Thank you Otto, I tried but is not working, I saw there has a Custom Structure, can you give me some advise on this? Is that my feed needs Custom Structure permalink, and then it will work?

    Find wp-rss2.php under your wordpress root directory.

    Within the file find:

    wfw:commentRSS

    change it to:

    wfw:commentRss

    Note that the ‘SS’ of ‘RSS’ changed to lower case.

    Then this will validate.

    I also saw some other problems that I am not familiar with, like your pubdate not being populated… I’d just get the Original rss2.php file, update as indicated above, and then upload it to your site.

    Good luck.

    M.

    Thread Starter mjmbkk1

    (@mjmbkk1)

    Thank you M,

    I changed ‘RSS’ to ‘Rss’, and change the permalink from “Date and Number Based” to ‘Default’ structure, then the feed work, but the homepage https://www.mjmorrissey.com/journal become 404 Error ..?

    So after I switch back to ‘Date and Number Based’ structure, feed is still not working?

    Do you know what caused it? How to make both feed and homepage work?

    Again, thank you.

    Apparently, as Otto pointed out earlier, you can get to the feed through https://mjmorrissey.com/journal/?feed=rss2, which still doesn’t validate. You are having some problems with how it is building your CDATA stuff, and I don’t know if you have a plugin that modified the RSS2.php and the rss.php files.

    Notice the very first <pubdate> is only showing the closing tag: </pubdate>, this is what makes me think that your rss.php files are corrupt.

    If everything else fails, I would get these two files fresh from the box (download) and overwrite whatever you have on your server.

    For some reason, the ‘friendly’ permalink to your Feed is not doing what is supposed to do, but if you use the ‘ugly’ permalink, then it is good to go.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Notice the very first <pubdate> is only showing the closing tag: </pubdate>, this is what makes me think that your rss.php files are corrupt.

    No, that is showing a normal empty pubdate tag. The reason it’s doing that, I couldn’t tell you, but it’s valid XML nevertheless and most feedreaders would accept it.

    His php files are probably fine.

    He might have some conflicting rewrite rules in another .htaccess file.

    Did wordpress automatically make the .htaccess file? Or did you copy the code it recommended and install it yourself? If you installed it yourself, make sure you put it in /journal/, and not the html root.

    Thread Starter mjmbkk1

    (@mjmbkk1)

    Thanks guys,

    Yes, my WP automatically make the .htaccess file, and it is in /journal/, not in the html root. I download WP for use as my blog for the main site: https://www.mjmorrissey.com.

    Under my public_html, there has .htaccess which is list under Created New File, this .htaccess is 0755

    And inside the /journal/ (WP), there has another .htaccess (0644)

    Do you think this .htaccess caused the problem?

    I also don’t have plugin that modified the RSS2.php and the rss.php files.

    The one in public_html could be causing the problem. You could temporarily rename it to htaccess and see if the feed then works. Then change it back, as it’s possibly important.

    If that test works, then you need to look at what the public html .htaccess file is doing, and see how it could be changed.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Need Advise on My Feed – It Doesn’t Work?’ is closed to new replies.