WordPress RSS Feed Returning 404 - wordpress

We have an RSS feed (or we should have) via wordpress but it is just giving using a 404 Page Not Found on load - http://www.warrenaccess.co.uk/feed/rss2
We have tried changing back to default theme and deactivating all plugins to see if we could find an issue but it still didn't work.
Does anyone have any idea what could be causing this?

My hunch is that you don't actually have any blog posts, but you are using WP as a pseudo-CMS. From having looked at the feed and network conditions (CDN / cloud hosting can sometimes ignore feed content), things are working as they should.
Your 404 does provide some useful information about the feed:
<lastBuildDate>Fri, 11 May 2012 10:14:42 +0000</lastBuildDate>
Which is awhile ago, relatively speaking. I'm guessing that your site content is all based on pages, which don't and shouldn't actually show up in RSS feeds.
To fix the problem, you'd have to make some blog posts or try this plugin or its variant:
http://wordpress.org/extend/plugins/rss-includes-pages/
Edit: turns out WP syndication setting was set to show -1 posts. Fixed by setting it > 0.

I was using custom post type for my primary website content, so to include more post types use this in your functions file:
function customfeed_request( $request ) {
if ( isset($request['feed']) && !isset($request['post_type']) ) {
$request['post_type'] = array('post', 'my_custom_post_type');
}
return $request;
}
add_filter('request', 'customfeed_request');

I spent a lot of time fixing this; I hope this helps someone.
The scenario: when Permalinks is off, I can access the RSS Feed url "/?feed=rss2" without error, but enabling the Permalinks the above returns the feed content and after this, an 404 error code. It is possible see the error code response under network browser inspection tools, like "Web Developer" plugin of Chrome.
Well, the feed client does not understand this error code and raises an exception, breaking the consumption page.
I traced the problem to the WP Super Cache. I think the cache does not generate the feed response content, but it tries to get the cache file and it don´t exist, resulting in error 404.
The simple solution, disable feed cache in "Advanced" topic of the "WP Super Cache Settings", checking "Feeds (is_feed)" options and save.
Perhaps your issue is in WP Super Cache.

I just had a similar issue happen to me but perhaps the cause could be a bit different. I made a custom RSS feed. I was getting the page 404 error.
The reason is that I was not doing a flush rewrite (https://codex.wordpress.org/Function_Reference/flush_rewrite_rules). Can do this by going to settings > permalinks and then just updating it. Then feed is available.
Was the solution for me anyhow.

have you checked your .htaccess
Turn it off by renaming it to something jibberish
If that doesn't help check your wp-config.php

What are we suppose to do if the product URLs are returning 404 i.e. www .abc .com/product /name/feed/ Rest everything is fine on web but only product feed URLs are 404. Also can it cause any performance issues and rank my website down?

Related

htaccess Google Seach Console Redirect Error Problem

My Wordpress website keeps getting refused by google search console, and i've spent a week trying to fix this problem (tried many different solutions). When I used a third party SEO crawler. It located the redirect error to a problem in http://www.examplesite.com to https://www.examplesite.com .
Google: Page fetch error Failed: Redirect error
So, having had experience before with SSL and redirects with htaccess with different websites before, i thought this would be an easy fix. apparently it isn't, and I still can't find a fix. I tried many different htaccess solutions. All my links in the xml sitemap use https. all my wordpress settings are set to https://www.examplesite.com . And I have no idea what I am doing wrong, what change, and what to do. I can only think the problem lies in the htaccess file. And I don't what code to use anymore. (yes, i've also disabled all the plugins)
Thank you.
Found the solution:
Add code in functions.php:
remove_filter('template_redirect','redirect_canonical');

Error displaying oEmbed Wordpress

I've a problem with my wordpress website. When I insert some url for being embedded, it's not working fine.
Here is the issue URL : https://www.duosia.id/windows/cara-mengekstrak-files-menggunakan-winrar-dengan-mudah
And here is the Screenshot :
When I try to visit the embedded url. It's return 404 not found. You can check the embedded url here, https://www.duosia.id/windows/cara-mengekstrak-files-menggunakan-winrar-dengan-mudah/embed/
I've try these common solutions.
Update everything including WordPress, the theme and plugins. Available updates appear in Dashboard > Updates.
Deactivate all plugins in case there is a conflict. If the problem goes away while all plugins are inactive, then reactivate them one by one to determine which is causing the problem.
Switch to the default theme (such as Twenty Thirteen) then try to do what was not working. If the problem remains, it is a general WordPress or hosting issue. If it happens only while using our theme, please let us know.
Clear cache in both your browser and in any caching plugins that you are using (also disable services like CloudFlare, if used with your website).
Revert code changes if you have modified the theme’s code. If using a child theme, reactivate the parent theme.
But, seems no one work.
The WordPress post embeds don't seem to be working on your site.
This URL shows a live example of the problem:
https://www.duosia.id/windows/whatsapp-for-pc/
The two embeds present in that URL are returning a 404, therefore, oEmbeds are not loading properly and showing the 404 page:
https://www.duosia.id/windows/facebook-messenger-for-pc/embed/#?secret=kMPv636bx1
https://www.duosia.id/windows/line-for-pc/embed/#?secret=65m4VpxiYi
Have you tried testing those URLs in the plugin "Rewrite Rules Inspector"?
You should see something like this for any of the "embed" URLs:
index.php?name=$matches[1]&embed=true
Also, have you tried flushing the rewrite rules in WordPress or maybe setting the permalink structure to a different/default one (right now you seem to be using a structure of "category/post-name") to see if it changes anything?
For the file that you are embedding, are you uploading it to the Media Library or some other plugin?
First I would check on the server to verify that the file you are looking to access does exist.
Once you know that the file does exist, then repeat the steps you have listed again.

Something is creating strange URLs in Wordpress Website

I have a problem with a Wordpress based website. Something is creating strange URLs. I know about those URLs, because Google Webmaster Developer try to Crawl them and the Crawler gets a 404 error (Not found). I have that problem in different websites:
In the first one the URLs looks like spam:
http://xxxx.com/wp-content/w3tc/apple-iphone-3gs-8gb-black-manual
In the other website the URLs make sense based on the content, but they are not valid URLs:
http://xxxx.com/portfolio/pool-view-suite-bathroom/
In other website, it's creating URLs that looks like valid, but with a ".html" in the final
If you try to access those URLs, you will get a 404 error. Curiously, when you look the "Linked By" tan in Google Developer Tools, you will see that is linked by another strange URL o there is no linked from. And that URLs are not in the sitemap, I checked it.
Thank you!
the first one is a trojan without a doubt. Quite usually, you'll find them in index.php, footer.php, header.php . If in doubt, check with an online tool like Sucuri
Once you isolate it, it's very important to know how you have it. While most people thinks they have been "hacked", in most cases you uploaded it by yourself from your own computer, so be sure to scan it thoroughly.
About the other cases, sounds more like an htaccess issue, but based on the first case, quite probably it's caused by this trojan as well. Ask your host to check the site, it's in their best interest to do it so. But assuming it's just htaccess, try this: go to Settings --> Permalinks and change the permalinks structure to anything else than what you have now. Don't hit the submit button yet. In the meanwhile, BACKUP your htaccess file and then delete it. Hit submit on the permalinks page an a new .htaccess file will be created. Try your site now. If it works, it was just a simple htaccess issue. If not, something else, going from a trojan to a server misconfiguration to anything in between
Maybe the domain was used before and you are seeing past valid urls which are now 404, or maybe these are incorrect, inbound spammy links which you would want to be 404. Duff links can be found anywhere on the internet and so no reason to think your site is generating them.

404 on taxonomy links on Wordpress site

I've read a lot of different posts online on this, but nothing seems to be working.
I'm working on a Wordpress site. Despite individual post links working exactly as intended, (e.g. http://ubicomplab.org/people/jwu), the main taxonomy pages, http://ubicomplab.org/people, etc. redirect to 404.
I have tried modifying .htaccess, deleting .htaccess, disabling plugins, but nothing seems to work. I have also tried rolling back the contents of wp-content to way before this error started occurring, to no effect.
Upon trying to "Edit Page" the 404ing link above, I get an error about how "post 422" is in the trash. There are no posts in the trash, however. I'm not sure why it's specifically post 422.
Could there be something wrong on the server side? If so, what could I do? I have access to the kettle server, but I'm not sure where to begin looking.
Try savings your permalinks again, sometimes this works for me.

Woocommerce redirect loop - NOT SSL RELATED

so I'm working on a wordpress site (found at nsuited.com) and my problem is that the checkout is causing a redirect loop. I have searched the internet for this problem and it mostly seemed to be related to forcing ssl or using an https wordpress plugin. I am doing neither, and everything was running fine until randomly the redirect started occurring. There's way too much code to post it all, but if there is anything specific you'd like to see let me know. I have tried changing the woocommerce checkout page, which then allowed me to access the checkout page as a page itself but I could not actually checkout from it. If I try to go to whatever page is set to checkout, BAM redirect loop again. I'm at a huge loss and have not been able to find any significant leads from debugging. Please help :(
EDIT: Also pertinent information - I recently moved my installation from a subfolder to root, though the checkout page was working since I moved installations
Problem solved.
I had tried this before without succes:
Add
define('WP_MEMORY_LIMIT', '96M');
to the file "wp-config.php". When I added it initially, I put it at the end to no avail. Put it as the very first line of code for glory.

Resources