WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] RSS returns ERROR 403 (24 posts)

  1. guyshomenet
    Member
    Posted 1 year ago #

    I have no idea when the problem started (which upgrade) but my RSS feed has died. Need to get a fix soon.

    SYMPTOMS:

    1) Main RSS2 feed (http://www.siliconstrat.com/blog/feed/) produces the 403 error

    2) The comment RSS feed (http://www.siliconstrat.com/blog/comments/feed/) does not.

    Using (I think) standard syntax in the template sidebar file:

    <li>
    <a>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?>
    </a></li>
    <li>
    <a>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?>
    </a></li>

    [Please post code & markup between backticks or use the code button. Your posted code has been permanently damaged by the forum's parser.]

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the default theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

  3. guyshomenet
    Member
    Posted 1 year ago #

    None of the suggestion (all tried in various ways over various upgrade) explain why the comment feed works but the rss2 and atom feeds do not.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Did you try any of those steps now?

  5. guyshomenet
    Member
    Posted 1 year ago #

    Yep. The most basic, switching back to default theme ... nada.

    The recent upgrade (about a month or two ago) was a fresh download upgrade.

    Now, during that upgrade, I did disable/enable all plugins for a different problem ... have not tried for this one as I'm waiting for diagnostics and/or explanation of the comment/feed differentiation (too many years in IT has taught me not to chase ghosts).

    Resting folder instruction made no sense.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You really need to try all of the steps listed above. There is no magic bullet in these situations. This is just the start of basic troubleshooting and is a process of elimination deliberately designed to locate the root cause as quickly as possible by first removing the most obvious and common culprits via a series of (often) temporary steps.

  7. guyshomenet
    Member
    Posted 1 year ago #

    Deactivating plugins ... nada.
    Themes ... nada.
    Fresh load ... already done.
    Resetting plugins folder ... description of process lacks specificity.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    In what way does it "lack specificity"?

  9. guyshomenet
    Member
    Posted 1 year ago #

    Sorry. Buried in the link provided. Renaming 'plugins' ... nada.

  10. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Many hosts are currently experiencing problems due to mass attacks. Yours may be one of them. Try contacting them.

  11. guyshomenet
    Member
    Posted 1 year ago #

    Nope, not the issue.

    "Error 403" ... only occuring on rss2 and atom feeds. The rest of the site is humming along. Seems to be a bug in WP redirect (since there is no /feed directory). I'll note that the altenate feed link (http://www.siliconstrat.com/blog/?feed=rss2) redirects to /blog/feed/ and produces the same error.

  12. guyshomenet
    Member
    Posted 1 year ago #

    Addendum: I have a different blog under a different domain on the same server and using the same WP version (and most of the same plugins). The RSS feed works fine there.

    So, having eliminated themes, plugins and install files, where else might the problem reside?

  13. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Seems to be a bug in WP redirect (since there is no /feed directory)

    No - it's not a bug. The feed is generated on demand with a url based upon whether you are using custom permalinks or not. Have you spoken to your hosts about this. Error 403 suggests that permissions have been changed on that site.

  14. bottleneck
    Member
    Posted 1 year ago #

    @guyshomenet

    do you really get 403?

    Your feed returns 404 on my side.

  15. guyshomenet
    Member
    Posted 1 year ago #

    Was getting a 403, but I started comparing my two separate blog sites and noticed an oddity here. There was a soft link (feed -> rss/index_rss2.xml) in the bad site that wasn't in the good site. As an experiment, I renamed it given that there was no rss/index_rss2.xml file.

    I' have renamed it back for the time being.

  16. guyshomenet
    Member
    Posted 1 year ago #

    @esmi

    Let's roll with this suggestion. files/directories would be affected and what should their permissions be? Snap to chmod them if I know which ones to tweak.

  17. bottleneck
    Member
    Posted 1 year ago #

    Was getting a 403

    Do you know the difference between 403 and 404?

  18. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    404 = missing file/page
    403 = forbidden to access due to settings on the server.

  19. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    what should their permissions be?

    Files should normally be 644 and folders 755.

  20. guyshomenet
    Member
    Posted 1 year ago #

    @esmi

    Hmmm. What chin to modify. There is no /feed directory nor the aforementioned rss/index_rss2.xml, so there is nothing to modify (assuming it is a redirect). What dirs/files need chmod?

  21. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    your 403 error may be related to security settings on the server - not anything to do with file permissions. We've seen a big increases in server security related issues here as as result of the recent mass attacks. Yours may be one of these, Try contacting them about it.

  22. guyshomenet
    Member
    Posted 1 year ago #

    @esmi

    Some folks don't read threads ;->

    Two separate WP blogs on the same server -- one works, one doesn't. Both using the same server/settings. All other WP functions working well even on the one with the bad feed.

  23. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    There really wasn't any need for that comment. I have read the whole thread a number of times. And this could still be a server security issue. You really do need to check with your hosts about it.

  24. guyshomenet
    Member
    Posted 12 months ago #

    RESOLVED:

    Given lighter weekend traffic I tried a few Hail Mary plays including

  25. Auto update
  26. Theme tweaks
  27. Manual update and finally ...
  28. A cold install from scratch (purge entire blog directory), hand copying in enhancements
  29. That last one did it, removing whatever funkydo was left over from prior WP versions. Up until now the standard WP updates have worked fine (both auto and the manual), so I don't know what error was induced on this site. For previous version I had done both auto and manual for this particular site, so I suspect one missing error check in an earlier auto-update (but that is pure speculation).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags