RSS Feed does not work

Hello,

i have a problem regarding the RSS feed, it does not work any more. By clicking or opening https://www.th-photography.net/feed/ i only get a error page.

However, W3C Feed Validation Service, for Atom and RSS says it is a valid RSS feed…

Does anyone has an idea what’s the problem with that?

Thanks a lot,
Torsten

Hello there,

I hope you are doing well today.

It may be the case that there is a blank space after a php closing tag in the functions.php file. Please go to Appearance > Editor > functions.php and check to see if there are is a blank space after the final closing tag.

Another option, is to use the following plugin to fix the feed:

Best Regards,
Support

Hello,

thank you for your fast reply.

  • The “Fix My Feed RSS Repair” Plugin did not help, I already tried it.
  • I did not find a blank space after a php closing tag in the functions.php

The error on the error page is something like this: „ERR_TOO_MANY_REDIRECTS“

Some weeks ago, I added some code (for website-performance) to the .htaccess.

Here my actual .htaccess:
————————————–

BEGIN WordPress

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

END WordPress

Wordfence WAF

<Files „.user.ini“>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</Files>

END Wordfence WAF

————————————–

Maybe the problem is due to that file?

Greets,
Torsten

Hello there,

Thanks for updating me on this issue.

Please remove the code that was added to the htaccess file because that code may be restricting the RSS feed or denying it entirely.

Best Regards,
Support

Hello,

i removed the # Wordfence WAF section so i looked that way:

BEGIN WordPress

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

END WordPress

But i did not help. Does it look like the .htaccess should look?

Do you have any other idea? Or do you need more additional details?

Thanks,
Torsten

Hi there,
Thanks for keeping in touch with us.

Just to ensure this isn’t an issue with the theme, I’m going to ask that you activate the Twenty Seventeen theme and test the feed page once more. If it loads then there’s something in the theme blocking the feed. If not, something may have gone wrong in setting up your feed, Did you use a plugin to generate this? Please walk me through the process so that I may tell you if you’ve missed something etc.

Also try adding the feed to a widget area or sidebar and see if that works.

I look forward to your reply :slight_smile:

Best Regards,
Support

Hi,

thank you a lot for your answer.

Maybe a stupid question before changing the theme:
Is everything of my setting, adjustments etc saved, when changing the theme. So that anything will be automatically restored and will be as before when going back to Travelify?

Thanks,
Torsten

Hello there,

I hope you are doing well today.

When you switch themes, the settings remain the same, so the changes made will not be affected but you can make a back with the following plugin to cover your bases and having a backup is always good:

Best Regards,
Support

Hello,

thanks for your answer.

  1. I changed for a test to the Twenty Seventeen theme and then the RSS feed works again!

  2. When adding the RSS widget to the sidebar as suggested by you while using the Travelify theme, it shows an error:
    “RSS-Fehler: WP HTTP Error: Too many redirects”

So there must be a problem within the Travelify theme.

Do you need some information, code or something else/other, that may help you finding the reason for that problem?

Thanks a lot for you help,
Torsten

Hello,

does someone has an idea where the problem may be within the theme?
Do you need some additional info/code?

Thanks a lot!
Torsten

Hello,

does nobody can further help me with that issue?

Greetings,
Torsten

Problem is solved.