admin管理员组

文章数量:1125088

I need the RSS feed on my site but it doesn't seem to have one. All the articles I've read say Wordpress sites have a default RSS feed so I must be doing something wrong.

To try to find my feed, I've already tried:

/?feed=rss
/?feed=rss2
/?feed=atom
/
/
/
/

All of the above simply refresh my site back to the homepage.

I also tried Google FeedBurner with www.wowitinc and received:

"We could not find a valid feed at that address."

"The URL does not appear to reference a valid XML file. We encountered the following problem: Error on line 234: Attribute name "async" associated with an element type "script" must be followed by the ' = ' character."

I have access to my cPanel but I really don't know what else to look for. I expect I need to add/modify some code. But can anyone advise where I should be looking and what I should do?

I'm lost.

I need the RSS feed on my site but it doesn't seem to have one. All the articles I've read say Wordpress sites have a default RSS feed so I must be doing something wrong.

To try to find my feed, I've already tried:

http://wowitinc.com/?feed=rss
http://wowitinc.com/?feed=rss2
http://wowitinc.com/?feed=atom
http://wowitinc.com/feed/
http://wowitinc.com/feed/rss/
http://wowitinc.com/feed/rss2/
http://wowitinc.com/feed/atom/

All of the above simply refresh my site back to the homepage.

I also tried Google FeedBurner with www.wowitinc.com and received:

"We could not find a valid feed at that address."

"The URL does not appear to reference a valid XML file. We encountered the following problem: Error on line 234: Attribute name "async" associated with an element type "script" must be followed by the ' = ' character."

I have access to my cPanel but I really don't know what else to look for. I expect I need to add/modify some code. But can anyone advise where I should be looking and what I should do?

I'm lost.

Share Improve this question asked Sep 27, 2019 at 13:34 DWNewbieDWNewbie 31 bronze badge
Add a comment  | 

1 Answer 1

Reset to default -1

Yes, you have to edit the functions.php file of your theme.

Try to find a [themename]_setup function (according to WordPress code conventions) inside the functions.php file of your active theme and add the following code in it:

add_theme_support( 'automatic-feed-links' );

This code will add the RSS feed links to HTML <head> of all pages.

You can find more information here: https://codex.wordpress.org/Automatic_Feed_Links

本文标签: How do I enable my Wordpress website RSS feed My site doesn39t seem to have an RSS feed