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 badge1 Answer
Reset to default -1Yes, 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
版权声明:本文标题:How do I enable my Wordpress website RSS feed? My site doesn't seem to have an RSS feed 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736655680a1946247.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论